guix-patches
[Top][All Lists]
Advanced

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

[bug#56729] [RFC PATCH v3 09/32] gnu: Add palp.


From: vicvbcun
Subject: [bug#56729] [RFC PATCH v3 09/32] gnu: Add palp.
Date: Mon, 29 May 2023 22:38:18 +0200

* gnu/packages/maths.scm (palp): New variable.
---

Notes:
    sage's build/pkgs/palp/SPKG.rst contains a description

 gnu/packages/maths.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index d92b8528a0..c2d9d07b00 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3158,6 +3158,37 @@ (define-public maxflow
 September 2004}")
     (license license:gpl3+)))
 
+(define-public palp
+  (package
+    (name "palp")
+    (version "2.20")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://hep.itp.tuwien.ac.at/~kreuzer/CY/palp/palp-";
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "1q1cl3vpdir16szy0jcadysydcrjp48hqxyx42kr8g9digkqjgkj"))))
+    (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 petsc
   (package
     (name "petsc")
-- 
2.40.1






reply via email to

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