gnu: gflags: Don't use NAME in source URI.
* gnu/packages/popt.scm (gflags)[source]: Hard-code NAME.master
parent
7f5c74d149
commit
400457af5f
|
@ -21,6 +21,7 @@
|
||||||
(define-module (gnu packages popt)
|
(define-module (gnu packages popt)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
||||||
#:use-module (guix licenses))
|
#:use-module (guix licenses))
|
||||||
|
@ -97,14 +98,15 @@ similar to getopt(3), it contains a number of enhancements, including:
|
||||||
(package
|
(package
|
||||||
(name "gflags")
|
(name "gflags")
|
||||||
(version "2.2.2")
|
(version "2.2.2")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "https://github.com/gflags/gflags"
|
(method git-fetch)
|
||||||
"/archive/v" version ".tar.gz"))
|
(uri (git-reference
|
||||||
(sha256
|
(url "https://github.com/gflags/gflags.git")
|
||||||
(base32
|
(commit (string-append "v" version))))
|
||||||
"1ksdqrk2jjcrqkgxkp6jj8vf8k5i794x5p1b6lxm2rvkrwajzbrl"))
|
(sha256
|
||||||
(file-name (string-append name "-" version ".tar.gz"))))
|
(base32 "147i3md3nxkjlrccqg4mq1kyzc7yrhvqv5902iibc7znkvzdvlp0"))
|
||||||
|
(file-name (git-file-name name version))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags '("-DBUILD_SHARED_LIBS=ON"
|
'(#:configure-flags '("-DBUILD_SHARED_LIBS=ON"
|
||||||
|
|
Reference in New Issue