From 7e1d376d304ad1c60007cfd06aae0fae0cd76642 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 11 Aug 2018 17:42:53 +0200 Subject: gnu: fortune-mod: Don't use unstable tarball. * gnu/packages/games.scm (fortune-mod)[source]: Use GIT-FETCH and GIT-FILE-NAME. --- gnu/packages/games.scm | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 453f732a5d..2744d46a9c 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -5193,13 +5193,16 @@ Strife, Chex Quest, and fan-created games like Harmony, Hacx and Freedoom.") (package (name "fortune-mod") (version "2.4.1") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/shlomif/fortune-mod/" - "archive/" name "-" version ".tar.gz")) - (sha256 - (base32 - "1hnqpkassh7fwg2jgvybr8mw7vzfikbrhb5r22367ilfwxnl9yd2")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/shlomif/fortune-mod") + (commit (string-append name "-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ayicdqjm9vfngp89kjw778q6lnawgc08zgn5l8ld4zd7ip11s8c")))) (build-system cmake-build-system) (arguments `(#:test-target "check" -- cgit v1.2.3