summaryrefslogtreecommitdiff
path: root/guix.scm
blob: 31e10fe1fefbc7e697885821158b1b6c5c7e1fd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
(use-modules (gnu packages autotools)
             (gnu packages base)
             (gnu packages guile)
             (gnu packages guile-xyz)
             (gnu packages rsync)
             (guix git-download)
             (guix packages)
             (guix profiles)
             (guix utils))

(define haunt*
  (let ((commit "3e406cbef274ad83c44674a8ee404684eb16bdbe"))
    (package
     (inherit haunt)
     (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://git.dthompson.us/haunt.git")
                    (commit commit)))
              (sha256
               (base32
                "0vhgb7gslpkb7qbfrm7bns3xgbycmfimm1a8yjcxiyq3kdhxdy9f"))))
     (native-inputs
      `(("autoconf" ,autoconf)
        ("automake" ,automake)
        ,@(package-native-inputs haunt)))
     (arguments
      (substitute-keyword-arguments (package-arguments haunt)
        ((#:phases phases)
         `(modify-phases ,phases
            (add-after 'unpack 'bootstrap
              (lambda _
                (invoke "sh" "bootstrap"))))))))))

(packages->manifest
 (list glibc
       glibc-utf8-locales
       gnu-make
       guile-3.0
       guile-syntax-highlight
       haunt*
       rsync))