From a7ec6d82336468ee10385e3cf6c631864ef0c029 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 4 May 2021 17:13:05 -0400 Subject: guix: Make package compatible with `guix build -f`. --- guix.scm | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'guix.scm') diff --git a/guix.scm b/guix.scm index c4fc329..7e46494 100644 --- a/guix.scm +++ b/guix.scm @@ -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) -- cgit v1.2.3