aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorpjotrp2016-02-13 15:16:40 +0100
committerpjotrp2016-02-13 15:16:40 +0100
commitba5ce4d3e75df6e0cb27492dc5067be3e52998da (patch)
tree40e90ea54ce2afe998834416ea4258b2f4ffd4d7 /gn/packages
parentf318a29598a35efc8f67571dcb5cf274279bc6ff (diff)
downloadguix-bioinformatics-ba5ce4d3e75df6e0cb27492dc5067be3e52998da.tar.gz
works
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/python.scm20
1 files changed, 16 insertions, 4 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index 032f4f1..014165b 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -347,7 +347,7 @@ version ".orig.tar.gz"))
(search-patch "python2-htmlgen-Fix-test-for-random.patch")
))))
(build-system gnu-build-system)
- (inputs
+ (native-inputs
`(("make" ,gnu-make)))
(propagated-inputs
`(("python2" ,python-2)))
@@ -355,9 +355,21 @@ version ".orig.tar.gz"))
`(#:phases (modify-phases %standard-phases
(delete 'configure)
(replace 'build
- (lambda _
- (zero? (apply system* "make" "test")))))
-
+ (lambda _
+ (system* "chmod" "a+w" "-R" ".")
+ )
+ )
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (include (string-append out "/include"))
+ (lib (string-append out "/lib"))
+ (pkgconfig (string-append out "/lib/pkgconfig"))
+ (doc (string-append out "/share/doc")))
+ ;; Install libs and headers.
+ (install-file "HTMLgen.pyc" lib)
+ ))) ; install
+ ) ; phases
#:tests? #f))
(home-page
"https://packages.debian.org/unstable/python/python-htmlgen")