guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/13: gnu: Add palp.


From: guix-commits
Subject: 09/13: gnu: Add palp.
Date: Wed, 1 Jan 2025 07:09:50 -0500 (EST)

dannym pushed a commit to branch master
in repository guix.

commit 3edd17ea510e292af83e6d317443505723a3f487
Author: vicvbcun <guix@ikherbers.com>
AuthorDate: Sun Dec 22 17:26:53 2024 +0000

    gnu: Add palp.
    
    * gnu/packages/maths.scm (palp): New variable.
    
    Change-Id: I37ee870858fef505999dfdc02d1955673366d718
    Co-authored by: Vinicius Monego <monego@posteo.net>
    
    Change-Id: I853cbccca5c34355d9df74a3cbbd5f818a21ebb5
    Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
---
 gnu/packages/maths.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index e1ede00041..22e2822c8c 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5580,6 +5580,37 @@ from the GotoBLAS2-1.13 BSD version.")
 library.")
     (license license:expat)))
 
+(define-public palp
+  (package
+    (name "palp")
+    (version "2.21")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://hep.itp.tuwien.ac.at/~kreuzer/CY/palp/palp-";
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "1myxjv0jxgr9acchwnjh9g5l61wxwiva3q6c1d6892lr37r7njky"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:make-flags #~(list (string-append "CC=" #$(cc-for-target)))
+           #:tests? #f ; no tests
+           #:phases #~(modify-phases %standard-phases
+                        (delete 'configure)
+                        (replace 'install
+                          (lambda _
+                            (for-each
+                             (lambda (name)
+                               (install-file name (string-append #$output 
"/bin")))
+                             '("class.x" "cws.x" "mori.x" "nef.x" 
"poly.x")))))))
+    (home-page "http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html";)
+    (synopsis "Package for Analyzing Lattice Polytopes")
+    (description
+     "PALP is a set of programs for calculations with lattice polytopes and
+applications to toric geometry.")
+    (license license:gpl3)))
+
 (define-public blis
   (package
     (name "blis")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]