From 0fb6d9e25d8e40f34836a4427f219c8366076c9c Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 17 Apr 2020 09:33:47 -0400 Subject: Tweak guix.scm so it's buildable. --- guix.scm | 52 +++++++++++++++++++++++++++++++++------------------- 1 file changed, 33 insertions(+), 19 deletions(-) diff --git a/guix.scm b/guix.scm index ac35a49..2a0f26d 100644 --- a/guix.scm +++ b/guix.scm @@ -165,23 +165,37 @@ Scheme. It contains all of the basic components needed to develop (home-page "https://dthompson.us/projects/chickadee.html") (license gpl3+)))) -(package - (name "lisparuga") - (version "0.1.0") - (source #f) - (build-system gnu-build-system) - (native-inputs - `(("autoconf" ,autoconf) - ("automake" ,automake) - ("pkg-config" ,pkg-config) - ("texinfo" ,texinfo))) - (inputs - `(("guile" ,target-guile))) - (propagated-inputs - `(("chickadee" ,chickadee) - ("guile-sdl2" ,guile-sdl2))) - (synopsis "Ikaruga-clone for Spring Lisp Game Jam 2020") - (description "Lisparuga is an Ikaruga-clone made for the Spring Lisp +(let ((commit "0a7b302f04433f7e45ac694defa12d3ddda9e926")) + (package + (name "lisparuga") + (version (string-append "0.1.0-1." (string-take commit 7))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "git://dthompson.us/lisparuga-2020.git") + (commit commit))) + (sha256 + (base32 + "044pss99lb1inniicrwwidaclcqzkblj9hccnwb9yrr75n7l2k14")))) + (build-system gnu-build-system) + (arguments + '(#:make-flags '("GUILE_AUTO_COMPILE=0") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'bootstrap + (lambda _ + (zero? (system* "sh" "bootstrap"))))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config))) + (inputs + `(("guile" ,target-guile))) + (propagated-inputs + `(("chickadee" ,chickadee) + ("guile-sdl2" ,guile-sdl2))) + (synopsis "Ikaruga demake for Spring Lisp Game Jam 2020") + (description "Lisparuga is an Ikaruga demake made for the Spring Lisp Game Jam 2020.") - (home-page "https://dthompson.us") - (license gpl3+)) + (home-page "https://davexunit.itch.io/lisparuga-2020") + (license gpl3+))) -- cgit v1.2.3