diff options
author | David Thompson <dthompson2@worcester.edu> | 2021-05-04 17:13:05 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2021-05-04 17:13:24 -0400 |
commit | a7ec6d82336468ee10385e3cf6c631864ef0c029 (patch) | |
tree | b7e30ce0965bbad1dcc5445763d2c31dff97fe9c /guix.scm | |
parent | 2435aa85e4eeb6d3aa7b5aa75b8eaa821953100f (diff) |
guix: Make package compatible with `guix build -f`.
Diffstat (limited to 'guix.scm')
-rw-r--r-- | guix.scm | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -39,6 +39,7 @@ (guix packages) ((guix licenses) #:prefix license:) (guix download) + (guix gexp) (guix git-download) (guix build-system gnu) (guix utils) @@ -126,11 +127,22 @@ SDL2 C shared library via the foreign function interface.") (home-page "https://git.dthompson.us/guile-sdl2.git") (license license:lgpl3+)))) +(define %source-dir (dirname (current-filename))) + (package (name "chickadee") - (version "0.1") - (source #f) + (version "0.7.0") + (source (local-file %source-dir + #:recursive? #t + #:select? (git-predicate %source-dir))) (build-system gnu-build-system) + (arguments + '(#:make-flags '("GUILE_AUTO_COMPILE=0") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'bootstrap + (lambda _ + (invoke "sh" "bootstrap")))))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) |