summaryrefslogtreecommitdiff
path: root/guix.scm
blob: 70aef9e0b78151050d644216c451c9c68ec2362e (about) (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
(use-modules
 (guix packages)
 ((guix licenses) #:prefix license:)
 (guix download)
 (guix build-system gnu)
 (gnu packages)
 (gnu packages autotools)
 (gnu packages base)
 (gnu packages mes)
 (gnu packages guile)
 (gnu packages guile-xyz)
 (gnu packages pkg-config)
 (gnu packages texinfo)
 (gnu packages parallel))

;; Later versions (such as 1.03.6) have a regression so that no
;; #define'd symbols are recorded.
(define-public nyacc-older
  (package
    (inherit nyacc-0.99)
    (version "1.03.0")
    (source (origin
              (method url-fetch)
              (uri (string-append "mirror://savannah/nyacc/nyacc-"
                                  version ".tar.gz"))
              (sha256
               (base32
                "1vdiqpm3p0ndmpmkzcpkpjvgklfsk4wxrhkixdxbczpafdfl635p"))
              (modules '((guix build utils)))
              (snippet
               '(begin
                  (substitute* "configure"
                    (("GUILE_GLOBAL_SITE=\\$prefix.*")
                     "GUILE_GLOBAL_SITE=\
$prefix/share/guile/site/$GUILE_EFFECTIVE_VERSION\n"))
                  #t))))
    (inputs
     `(("guile" ,guile-3.0)))))

(package
  (name "guile-drmaa")
  (version "0.1")
  (source "./guile-drmaa-0.1.tar.gz")
  (build-system gnu-build-system)
  (native-inputs
   `(("autoconf" ,autoconf)
     ("automake" ,automake)
     ("pkg-config" ,pkg-config)
     ("texinfo" ,texinfo)
     ("sed" ,sed)))
  (inputs
   `(("guile" ,guile-3.0)))
  (propagated-inputs
   `(("guile-bytestructures" ,guile-bytestructures)
     ("nyacc" ,nyacc-older)))
  (synopsis "")
  (description "")
  (home-page "")
  (license license:gpl3+))