[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: Add cmh.
From: |
Andreas Enge |
Subject: |
02/02: gnu: Add cmh. |
Date: |
Fri, 16 Nov 2018 03:07:09 -0500 (EST) |
andreas pushed a commit to branch master
in repository guix.
commit eea7cd751988733159f86e10e82525fab014e060
Author: Andreas Enge <address@hidden>
Date: Fri Nov 16 09:06:31 2018 +0100
gnu: Add cmh.
* gnu/packages/algebra.scm (cmh): New variable.
---
gnu/packages/algebra.scm | 32 +++++++++++++++++++++++++++++++-
1 file changed, 31 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index e54b8e3..1035943 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Andreas Enge
<address@hidden>
+;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018 Andreas Enge
<address@hidden>
;;; Copyright © 2013, 2015, 2017, 2018 Ludovic Courtès <address@hidden>
;;; Copyright © 2016, 2017, 2018 Nicolas Goaziou <address@hidden>
;;; Copyright © 2014, 2018 Mark H Weaver <address@hidden>
@@ -210,6 +210,36 @@ GP2C, the GP to C compiler, translates GP scripts to PARI
programs.")
(license license:gpl2)
(home-page "https://pari.math.u-bordeaux.fr/")))
+(define-public cmh
+ (package
+ (name "cmh")
+ (version "1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://gforge.inria.fr/frs/download.php/33497/cmh-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1a28xr9bs0igms0ik99x0w8lnb0jyfcmvyi26pbyh9ggcdivd33p"))))
+ (build-system gnu-build-system)
+ (inputs
+ `(("gmp" ,gmp)
+ ("mpfr" ,mpfr)
+ ("mpc" ,mpc)
+ ("mpfrcx" ,mpfrcx)
+ ("fplll" ,fplll)
+ ("pari-gp" ,pari-gp)))
+ (synopsis "Igusa class polynomial computations")
+ (description
+ "The CMH software computes Igusa (genus 2) class polynomials, which
+parameterize the CM points in the moduli space of 2-dimensional abelian
+varieties, i.e. Jacobians of hyperelliptic curves.
+It can also be used to compute theta constants at arbitrary
+precision.")
+ (license license:gpl3+)
+ (home-page "http://cmh.gforge.inria.fr/")))
+
(define-public giac-xcas
(package
(name "giac-xcas")