From 64b47a2900ae62a9106ef2ce837a78db3502132e Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Sat, 18 Jan 2020 21:49:27 +0300 Subject: 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(-) (limited to 'gnu') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index dd4e5993c5..bc5f14039e 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 -- cgit v1.2.3