guix-commits
[Top][All Lists]
Advanced

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

02/04: gnu: Add shlomif-cmake-modules.


From: guix-commits
Subject: 02/04: gnu: Add shlomif-cmake-modules.
Date: Sat, 18 Jan 2020 13:54:48 -0500 (EST)

wigust pushed a commit to branch master
in repository guix.

commit 64b47a2900ae62a9106ef2ce837a78db3502132e
Author: Oleg Pykhalov <address@hidden>
AuthorDate: Sat Jan 18 21:49:27 2020 +0300

    gnu: Add shlomif-cmake-modules.
    
    * gnu/packages/games.scm (shlomif-cmake-modules): New variable.
    (fortune-mod)[native-inputs]: Take "cmake-rules" to a separate variable.
---
 gnu/packages/games.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index dd4e599..bc5f140 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -5920,6 +5920,14 @@ entirely config file, savegame, netplay and demo 
compatible with the
 original.")
     (home-page "https://www.chocolate-doom.org/wiki/index.php/Crispy_Doom";)))
 
+(define shlomif-cmake-modules
+  (origin
+    (method url-fetch)
+    (uri (string-append "https://bitbucket.org/shlomif/shlomif-cmake-modules/";
+                        "raw/c505713d7a7cda608f97f01577e5868a711b883e/"
+                        "shlomif-cmake-modules/Shlomif_Common.cmake"))
+    (sha256
+     (base32 "0kx9s1qqhhzprp1w3b67xmsns0n0v506bg5hgrshxaxpy6lqiwb2"))))
 (define-public fortune-mod
   (package
     (name "fortune-mod")
@@ -5972,14 +5980,7 @@ original.")
        ("perl-class-xsaccessor" ,perl-class-xsaccessor)
        ("perl-io-all" ,perl-io-all)
        ("perl-test-runvalgrind" ,perl-test-runvalgrind)
-       ("cmake-rules"
-        ,(origin
-           (method url-fetch)
-           (uri (string-append 
"https://bitbucket.org/shlomif/shlomif-cmake-modules/";
-                               "raw/c505713d7a7cda608f97f01577e5868a711b883e/"
-                               "shlomif-cmake-modules/Shlomif_Common.cmake"))
-           (sha256
-            (base32 
"0kx9s1qqhhzprp1w3b67xmsns0n0v506bg5hgrshxaxpy6lqiwb2"))))))
+       ("cmake-rules" ,shlomif-cmake-modules)))
     (home-page "http://www.shlomifish.org/open-source/projects/fortune-mod/";)
     (synopsis "The Fortune Cookie program from BSD games")
     (description "Fortune is a command-line utility which displays a random



reply via email to

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