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")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/astrand/xclip"
"/archive/" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/astrand/xclip.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0n7pczk9vv30zf8qfln8ba3hnif9yfdxg0m84djac469wc28hnya"))))
"0q0hmvcjlv8arhh1pzhja2wglyj6n7z209jnpnzd281kqqv4czcs"))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f)) ;there is no test suite