aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-12-30 12:04:01 +0200
committerEfraim Flashner <efraim@flashner.co.il>2018-12-30 12:04:10 +0200
commit6f0ae1439c6c8429d1da7f3c9b9ebf4ba6640a36 (patch)
tree944d26ecb9fbb77de14477dbf94f65c775f78412 /gnu
parent152d6bf014a16c6759f3ebd8d5109b758990bae8 (diff)
downloadguix-6f0ae1439c6c8429d1da7f3c9b9ebf4ba6640a36.tar
guix-6f0ae1439c6c8429d1da7f3c9b9ebf4ba6640a36.tar.gz
gnu: fbreader: Use 'git-fetch'.
* gnu/packages/ebook.scm (fbreader)[source]: Use 'git-fetch'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ebook.scm12
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index 46d4c2cfe8..980d574c4b 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -25,6 +25,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
#:use-module (guix build-system python)
@@ -241,13 +242,14 @@ designed to be used in a generic text renderer.")
(name "fbreader")
(version "0.99.6")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/geometer/FBReader/"
- "archive/" version "-freebsdport.tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/geometer/FBReader")
+ (commit (string-append version "-freebsdport"))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0gf1nl562fqkwlzcn6rgkp1j8jcixzmfsnwxbc0sm49zh8n3zqib"))
+ "0c0s4silpax74kwfz3dfmzn4lkv6jsyb800vfak166vii0hvbv3d"))
(patches (search-patches "fbreader-curl-7.62.patch"))))
(build-system gnu-build-system)
(inputs