gnu: dashel: Don't use unstable tarball.

* gnu/packages/cpp.scm (dashel)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
[home-page]: Move down to its conventional spot.
This commit is contained in:
Tobias Geerinckx-Rice 2019-06-07 03:34:05 +02:00
parent 7f5c1233b9
commit 6d42b87f1d
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -108,17 +108,19 @@ (define-public dashel
(package (package
(name "dashel") (name "dashel")
(version "1.3.3") (version "1.3.3")
(home-page "https://github.com/aseba-community/dashel") (source
(source (origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append home-page "/archive/" version ".tar.gz")) (uri (git-reference
(sha256 (url "https://github.com/aseba-community/dashel.git")
(base32 (commit version)))
"1ckzac1rsw3cxmpdpwcqv46jyp7risk5ybq6jjiizbqn7labf6dw")) (sha256
(file-name (string-append name "-" version ".tar.gz")))) (base32 "0anks2l2i2qp0wlzqck1qgpq15a3l6dg8lw2h8s4nsj7f61lffwy"))
(file-name (git-file-name name version))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments '(#:tests? #f)) ;no tests (arguments '(#:tests? #f)) ; no tests
(native-inputs `(("pkg-config" ,pkg-config))) (native-inputs `(("pkg-config" ,pkg-config)))
(home-page "https://github.com/aseba-community/dashel")
(synopsis "Data stream helper encapsulation library") (synopsis "Data stream helper encapsulation library")
(description (description
"Dashel is a data stream helper encapsulation C++ library. It provides a "Dashel is a data stream helper encapsulation C++ library. It provides a