3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: rct: Be more idiomatic.

* gnu/packages/cpp.scm (rct): Move the call to 'git-version' into the
package definition.
[source]: Explicitly include the source URI rather than using
'home-page'.
This commit is contained in:
Leo Famulari 2019-04-19 15:10:58 -04:00
parent 18f8770d58
commit 1e72a23d49
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -72,16 +72,14 @@ operating system functions.")
(define-public rct (define-public rct
(let* ((commit "b3e6f41d9844ef64420e628e0c65ed98278a843a") (let* ((commit "b3e6f41d9844ef64420e628e0c65ed98278a843a")
(revision "2") (revision "2"))
(version (git-version "0.0.0" revision commit)))
(package (package
(name "rct") (name "rct")
(version version) (version (git-version "0.0.0" revision commit))
(home-page "https://github.com/Andersbakken/rct")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url home-page) (url "https://github.com/Andersbakken/rct")
(commit commit))) (commit commit)))
(sha256 (sha256
(base32 (base32
@ -99,6 +97,7 @@ operating system functions.")
(inputs (inputs
`(("openssl" ,openssl) `(("openssl" ,openssl)
("zlib" ,zlib))) ("zlib" ,zlib)))
(home-page "https://github.com/Andersbakken/rct")
(synopsis "C++ library providing Qt-like APIs on top of the STL") (synopsis "C++ library providing Qt-like APIs on top of the STL")
(description "Rct is a set of C++ tools that provide nicer (more Qt-like) (description "Rct is a set of C++ tools that provide nicer (more Qt-like)
APIs on top of Standard Template Library (@dfn{STL}) classes.") APIs on top of Standard Template Library (@dfn{STL}) classes.")