summaryrefslogtreecommitdiff
path: root/guix.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-10-06 22:49:45 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-10-06 22:49:45 -0400
commit254ea1eea9c70620524ec0d3bd238cf0b535321d (patch)
treec48f2a7c8b67ce467153a6387e3d3d9073c7cc16 /guix.scm
parent9ce20c40540908cf95dc1546c23df415631cf1e0 (diff)
Update Guix package.
Diffstat (limited to 'guix.scm')
-rw-r--r--guix.scm15
1 files changed, 13 insertions, 2 deletions
diff --git a/guix.scm b/guix.scm
index 008796b..695c4b8 100644
--- a/guix.scm
+++ b/guix.scm
@@ -42,10 +42,21 @@
(package
(name "guile-sdl2")
(version "0.1")
- (source #f)
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "git://dthompson.us/guile-sdl2.git")
+ (commit "9ce20c4")))
+ (sha256
+ (base32
+ "067vbbl643cijnc45jd06w5wz7y8b9vfb3mcjrxbynz8vv5sl9kn"))))
(build-system gnu-build-system)
(arguments
- '(#:phases
+ '(#:configure-flags
+ (list (string-append "--with-libsdl2-prefix="
+ (assoc-ref %build-inputs "sdl2")))
+ #:make-flags '("GUILE_AUTO_COMPILE=0")
+ #:phases
(modify-phases %standard-phases
(add-after 'unpack 'bootstrap
(lambda _ (zero? (system* "sh" "bootstrap")))))))