summaryrefslogtreecommitdiff
path: root/package.scm
diff options
context:
space:
mode:
Diffstat (limited to 'package.scm')
-rw-r--r--package.scm25
1 files changed, 22 insertions, 3 deletions
diff --git a/package.scm b/package.scm
index 326dbe4..3cb3102 100644
--- a/package.scm
+++ b/package.scm
@@ -18,12 +18,19 @@
;;; Commentary:
;;
-;; Development environment for GNU Guix.
+;; GNU Guix development package. To build and install, run:
+;;
+;; guix package -e '(primitive-load "package.scm")'
+;;
+;; To use as the basis for a development environment, run:
+;;
+;; guix environment -l package.scm
;;
;;; Code:
(use-modules (guix packages)
(guix licenses)
+ (guix git-download)
(guix build-system gnu)
(gnu packages)
(gnu packages autotools)
@@ -31,9 +38,21 @@
(package
(name "haunt")
- (version "0.0")
- (source #f)
+ (version "0.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "git://dthompson.us/haunt.git")
+ (commit "f012747")))
+ (sha256
+ (base32
+ "0gj4xw79g3q87m6js0mbvv437zf7df5d2xg4sx65mpgc85j7zafs"))))
(build-system gnu-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'bootstrap
+ (lambda _ (zero? (system* "sh" "bootstrap")))))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)))