guix-patches
[Top][All Lists]
Advanced

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

[bug#56729] [RFC PATCH v2 17/29] gnu: Add palp.


From: vicvbcun
Subject: [bug#56729] [RFC PATCH v2 17/29] gnu: Add palp.
Date: Mon, 8 Aug 2022 17:45:52 +0200

* gnu/packages/sagemath.scm (palp): New variable.
---
 gnu/packages/sagemath.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm
index 16810a2d2b..adffd881e1 100644
--- a/gnu/packages/sagemath.scm
+++ b/gnu/packages/sagemath.scm
@@ -465,3 +465,30 @@ (define-public python-lrcalc
     (synopsis "Littlewood-Richardson Calculator bindings")
     (description "Littlewood-Richardson Calculator bindings")
     (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 synopsis)
+    (license license:gpl3)))
-- 
2.37.0






reply via email to

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