diff mbox series

[bug#56729,RFC,v2,04/29] gnu: cliquer: Update to 1.22.

Message ID 66b99e72c66e3aed984b5c48c3d8d95f86987f2c.1659973115.git.guix@ikherbers.com
State New
Headers show
Series None | expand

Commit Message

vicvbcun Aug. 8, 2022, 3:45 p.m. UTC
Switch to an autotoolized fork.

* gnu/packages/sagemath.scm (cliquer): Update to 1.22.
---
 gnu/packages/sagemath.scm | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm
index 75720f31a5..b29620a946 100644
--- a/gnu/packages/sagemath.scm
+++ b/gnu/packages/sagemath.scm
@@ -101,19 +101,18 @@  (define-public python-gmpy2
 (define-public cliquer
   (package
     (name "cliquer")
-    (version "1.21")
-    ;; The original source package is available from the home page and
-    ;; has not seen any release since 2010; it comes with only a Makefile
-    ;; without an "install" target. Instead, there is an autotoolized
-    ;; tarball available from the Sage project.
-    (source
-     (origin
-       (method url-fetch)
-       (uri "http://users.ox.ac.uk/~coml0531/sage/cliquer-1.21.tar.gz")
-       (sha256
-        (base32
-         "1hdzrmrx0nvvj8kbwxrs8swqgkd284khzl623jizixcv28xb77aq"))))
+    (version "1.22")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/dimpase/autocliquer")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "00gcmrhi2fjn8b246w5a3b0pl7p6haxy5wjvd9kcqib1xanz59z4"))))
     (build-system gnu-build-system)
+    (native-inputs (list autoconf automake libtool))
     (synopsis "C routines for finding cliques in weighted graphs")
     (description "Cliquer is a set of reentrant C routines for finding
 cliques in a weighted or unweighted graph.  It uses an exact
@@ -122,7 +121,7 @@  (define-public cliquer
 search to maximal cliques, store cliques in memory and call a user-defined
 function for every found clique.")
     (license license:gpl2+)
-    (home-page "https://users.aalto.fi/~pat/cliquer.html")))
+    (home-page "https://github.com/dimpase/autocliquer")))
 
 (define-public libbraiding
   (package