guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: Add m4ri.


From: guix-commits
Subject: 01/02: gnu: Add m4ri.
Date: Wed, 19 Jun 2019 17:58:28 -0400 (EDT)

andreas pushed a commit to branch master
in repository guix.

commit 37edfb0f1cdff251b1231d687041dfe6e7ea92e5
Author: Andreas Enge <address@hidden>
Date:   Wed Jun 19 19:37:52 2019 +0200

    gnu: Add m4ri.
    
    * gnu/packages/algebra.scm (m4ri): New variable.
---
 gnu/packages/algebra.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index fefe712..05733fa 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -1244,3 +1244,33 @@ with dense, sparse, and structured matrices over the 
integers and over
 finite fields.")
     (license license:lgpl2.1+)
     (home-page "https://linbox-team.github.io/linbox/";)))
+
+(define-public m4ri
+  (package
+    (name "m4ri")
+    (version "20140914")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://bitbucket.org/malb/m4ri";)
+                    (commit (string-append "release-" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0xfg6pffbn8r1s0y7bn9b8i55l00d41dkmhrpf7pwk53qa3achd3"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libtool" ,libtool)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("libpng" ,libpng)))
+    (synopsis "Arithmetic of dense matrices over F_2")
+    (description "M4RI is a library for fast arithmetic with dense matrices
+over F2.  The name M4RI comes from the first implemented algorithm: The
+Method of the Four Russians inversion algorithm published by Gregory Bard.
+This algorithm in turn is named after the Method of the Four Russians
+multiplication algorithm.")
+    (license license:gpl2+)
+    (home-page "https://bitbucket.org/malb/m4ri/";)))



reply via email to

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