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:
		
							parent
							
								
									18f8770d58
								
							
						
					
					
						commit
						1e72a23d49
					
				
					 1 changed files with 4 additions and 5 deletions
				
			
		| 
						 | 
					@ -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.")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue