summary refs log tree commit diff
path: root/gnu/packages/maths.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2024-08-26 20:57:44 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2024-08-26 20:57:44 +0200
commit732dac4ce0de75ba0ffd79558e876815b273c925 (patch)
tree5ec91c6dcb3f248380bf269b4be1f89b2c156239 /gnu/packages/maths.scm
parent73ec6ef4c335fc43d877da1a30fcf81ef61f5a48 (diff)
downloadguix-732dac4ce0de75ba0ffd79558e876815b273c925.tar.gz
gnu: nauty: Update to 2.8.9.
* gnu/packages/maths.scm (nauty): Update to 2.8.9.
[arguments]<#:phases>: Add a phase for fixing a test.

Change-Id: I854754ab372ef6ae1d5e13e14c0fc8a667177b4d
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r--gnu/packages/maths.scm13
1 files changed, 8 insertions, 5 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 0a9f2ab7fb..42332f18b4 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -8847,7 +8847,7 @@ management via the GIMPS project's Primenet server.")
 (define-public nauty
   (package
     (name "nauty")
-    (version "2.8.8")
+    (version "2.8.9")
     (source
      (origin
        (method url-fetch)
@@ -8855,7 +8855,7 @@ management via the GIMPS project's Primenet server.")
              "https://pallini.di.uniroma1.it/"
              "nauty" (string-join (string-split version #\.) "_") ".tar.gz"))
        (sha256
-        (base32 "1ki9z60qcyx3va68hp7iv6451n5d86v1xmhc850b4sqah5b2378m"))))
+        (base32 "00zlb7cvkzfcfs3abcrykc2picapg16qng0zc2cwszmvqma6bi4s"))))
     (build-system gnu-build-system)
     (outputs '("out" "lib"))
     (arguments
@@ -8868,9 +8868,12 @@ management via the GIMPS project's Primenet server.")
             (lambda _
               (substitute* "makefile.in"
                 (("^(pkgconfigexecdir=).*" _ prefix)
-                 (string-append prefix "${libdir}/pkgconfig\n"))))))))
-    (inputs
-     (list gmp))                        ;for sumlines
+                 (string-append prefix "${libdir}/pkgconfig\n")))))
+          (add-after 'unpack 'fix-failing-test
+            (lambda _
+              (substitute* "runalltests.in"
+                ((" uniqg") " ./uniqg")))))))
+    (inputs (list gmp))                 ;for sumlines
     (home-page "https://pallini.di.uniroma1.it/")
     (synopsis "Library for graph automorphisms")
     (description "@code{nauty} (No AUTomorphisms, Yes?) is a set of