aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorEfraim Flashner2021-10-27 10:48:41 +0300
committerEfraim Flashner2021-10-27 20:10:57 +0300
commite698b098503790688b71e26fa46875538e2d08c8 (patch)
treef0d7e2432f825ae404c1972cd58a098d205f6f30 /gn/packages
parent819343a9fff1021bdcbffa5b125e885bb88524ba (diff)
downloadguix-bioinformatics-e698b098503790688b71e26fa46875538e2d08c8.tar.gz
gn: python-htmlgen: Download using git-fetch.
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/python.scm41
1 files changed, 31 insertions, 10 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index b899eb4..d14518d 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -632,17 +632,18 @@ the older versions.")
(name "python-htmlgen")
(version "2.0.0")
(source
- (origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/srittau/python-htmlgen/archive/v"
- version ".tar.gz"))
- (sha256
- (base32
- "0qx8dsh0kb79qk2a9gdxdjij21ja3hzya277sjk5imk60aiwa6l9"))))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/srittau/python-htmlgen")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "11hfx5x3jg4hyfxzav6ypsb57mahb5nk6qzg4zn1pyy1lilllqj6"))))
(build-system python-build-system)
- (arguments
- `(#:tests? #f))
+ (native-inputs
+ `(("python-asserts" ,python-asserts)))
(synopsis "Python HTML 5 Generator")
(description "This is a python library for generating html from classes.")
(home-page "https://github.com/srittau/python-htmlgen")
@@ -651,6 +652,26 @@ the older versions.")
(define-public python2-htmlgen
(package-with-python2 python-htmlgen))
+(define-public python-asserts
+ (package
+ (name "python-asserts")
+ (version "0.10.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/srittau/python-asserts")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "10lzdbhyl1s1fpq34prhi288wcigrk0z4hphql20pyjxx6yla8ya"))))
+ (build-system python-build-system)
+ (synopsis "Stand-alone Assertions for Python")
+ (description "This is a python library that can provide assertions in a
+stand-alone manner.")
+ (home-page "https://github.com/srittau/python-asserts")
+ (license license:expat)))
+
(define-public python-version
(let ((commit "e5aadc720bb74c535f29e5a2de5cd9697efe8d7c"))
(package