gnu: xclip: Fetch sources from git.

* gnu/packages/xdisorg.scm (xclip)[source]: Fetch from git.
This commit is contained in:
Ricardo Wurmus 2018-11-29 22:13:13 +01:00
parent 25d09f609e
commit 2d8387c364
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 9 additions and 8 deletions

View File

@ -132,13 +132,14 @@ program.")
(version "0.13") (version "0.13")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/astrand/xclip" (uri (git-reference
"/archive/" version ".tar.gz")) (url "https://github.com/astrand/xclip.git")
(file-name (string-append name "-" version ".tar.gz")) (commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0n7pczk9vv30zf8qfln8ba3hnif9yfdxg0m84djac469wc28hnya")))) "0q0hmvcjlv8arhh1pzhja2wglyj6n7z209jnpnzd281kqqv4czcs"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:tests? #f)) ;there is no test suite '(#:tests? #f)) ;there is no test suite