Skip to content
Snippets Groups Projects
Unverified Commit 1e72a23d authored by Leo Famulari's avatar Leo Famulari
Browse files

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'.
parent 18f8770d
No related branches found
No related tags found
No related merge requests found
......@@ -72,16 +72,14 @@ (define-public libzen
(define-public rct
(let* ((commit "b3e6f41d9844ef64420e628e0c65ed98278a843a")
(revision "2")
(version (git-version "0.0.0" revision commit)))
(revision "2"))
(package
(name "rct")
(version version)
(home-page "https://github.com/Andersbakken/rct")
(version (git-version "0.0.0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url home-page)
(url "https://github.com/Andersbakken/rct")
(commit commit)))
(sha256
(base32
......@@ -99,6 +97,7 @@ (define-public rct
(inputs
`(("openssl" ,openssl)
("zlib" ,zlib)))
(home-page "https://github.com/Andersbakken/rct")
(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)
APIs on top of Standard Template Library (@dfn{STL}) classes.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment