gnu: cmatrix: Update to 2.0.
authorOleg Pykhalov <go.wigust@gmail.com>
Sat, 18 Jan 2020 18:07:30 +0000 (21:07 +0300)
committerOleg Pykhalov <go.wigust@gmail.com>
Sat, 18 Jan 2020 18:52:45 +0000 (21:52 +0300)
* gnu/packages/games.scm (cmatrix)[version]: Update to 2.0.
[source]: Download using git-fetch.
[native-inputs]: Add AUTOCONF and AUTOMAKE.

gnu/packages/games.scm

index fefb305..dd4e599 100644 (file)
@@ -1631,16 +1631,21 @@ a C library, so they can easily be integrated into other programs.")
 (define-public cmatrix
   (package
     (name "cmatrix")
-    (version "1.2a")
+    (version "2.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "http://www.asty.org/cmatrix/dist/cmatrix-" version
-                           ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/abishekvashok/cmatrix.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "0k06fw2n8nzp1pcdynhajp5prba03gfgsbj91bknyjr5xb5fd9hz"))))
+         "1h9jz4m4s5l8c3figaq46ja0km1gimrkfxm4dg7mf4s84icmasbm"))))
     (build-system gnu-build-system)
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)))
     (arguments
      '(#:phases
        (modify-phases %standard-phases