aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-29 16:09:22 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-29 22:43:48 +0100
commitde1830ae6d0a2c33445f20d25c7f8ff6a290c31d (patch)
tree2bc03a43093b06ab5a465e9f7e8f866fc99bbaff
parent9774fac480e694806d23bccbc31feda56fa0aef4 (diff)
downloadpatches-de1830ae6d0a2c33445f20d25c7f8ff6a290c31d.tar
patches-de1830ae6d0a2c33445f20d25c7f8ff6a290c31d.tar.gz
gnu: libcue: Fetch sources from git.
* gnu/packages/cdrom.scm (libcue)[source]: Fetch from git.
-rw-r--r--gnu/packages/cdrom.scm14
1 files changed, 8 insertions, 6 deletions
diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index d8dc9ee6f9..a222652295 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017 Nils Gillmann <ng0@n0.is>
;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -29,6 +30,7 @@
(define-module (gnu packages cdrom)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix packages)
#:use-module ((guix licenses) #:select (lgpl2.1+ gpl2 gpl2+ gpl3+ cddl1.0))
#:use-module (guix build-system cmake)
@@ -421,14 +423,14 @@ graphical interface.")
(name "libcue")
(version "2.2.1")
(source (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/lipnitsk/libcue/archive/v"
- version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/lipnitsk/libcue.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "000j5xqp7cc7njwlixr9byahz9kn8pcfdgm76afwv4p8nbmw6yzj"))))
+ "1iqw4n01rv2jyk9lksagyxj8ml0kcfwk67n79zy1r6zv1xfp5ywm"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))