summaryrefslogtreecommitdiff
path: root/package.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-08-08 09:58:59 -0400
committerDavid Thompson <dthompson2@worcester.edu>2015-08-08 09:58:59 -0400
commitb6917098df5ef4026b80f869dfc17634e75a77ad (patch)
tree2bbe6b27f7c98dcb69e50587931419ab6aa9fb7a /package.scm
parentf012747f3aaac5801ff970284e1b2a01e4a59d98 (diff)
Update Guix development package.v0.1
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)))