gnu: haunt: Update to 0.2.2.

* gnu/packages/guile.scm (haunt): Update to 0.2.2.
This commit is contained in:
David Thompson 2018-03-10 21:31:00 -05:00
parent 3c90c7ae37
commit 907254e513
No known key found for this signature in database
GPG key ID: 8328C7470FF1D807

View file

@ -1259,14 +1259,14 @@ (define-public guile-sqlite3
(define-public haunt
(package
(name "haunt")
(version "0.2.1")
(version "0.2.2")
(source (origin
(method url-fetch)
(uri (string-append "https://files.dthompson.us/haunt/haunt-"
version ".tar.gz"))
(sha256
(base32
"1fpaf1vm6s7j13fs35barjh5yajcc2rc3pi8r7278wpgp4i2vs3w"))))
"0nm00krmqq4zmqi2irh35dbf2cn6al58s620hijmhfvhgvdqznlp"))))
(build-system gnu-build-system)
(arguments
`(#:modules ((ice-9 match) (ice-9 ftw)
@ -1283,12 +1283,15 @@ (define-public haunt
out "/share/guile/site")))
(match (scandir site)
(("." ".." version)
(let ((modules (string-append site "/" version)))
(let ((modules (string-append site "/" version))
(compiled-modules (string-append
out "/lib/guile/" version
"/site-ccache")))
(wrap-program (string-append bin "/haunt")
`("GUILE_LOAD_PATH" ":" prefix
(,modules))
`("GUILE_LOAD_COMPILED_PATH" ":" prefix
(,modules)))
(,compiled-modules)))
#t)))))))))
(native-inputs
`(("pkg-config" ,pkg-config)