-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.scm
66 lines (62 loc) · 2.14 KB
/
package.scm
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
61
62
63
64
65
66
(use-modules (guix packages)
(guix licenses)
(guix gexp)
(guix download)
(guix build-system gnu)
(gnu packages)
(gnu packages commencement))
;; GNU packages have older version
(define gambit-495
(package
(name "gambit-c")
(version "4.9.5")
(source
(origin
(method url-fetch)
(uri (string-append
"http://www.gambitscheme.org/"
version "/gambit-v"
(string-map (lambda (c) (if (char=? c #\.) #\_ c)) version)
".tgz"))
(sha256
(base32 "1p61z1rp0ya4i61mq3hzmr67r3xbvi9h058cf9ci2yqfbzdzi3p2"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags
;; According to the ./configure script, this makes the build slower and
;; use >= 1 GB memory, but makes Gambit much faster.
'("--enable-single-host")))
(home-page "http://www.gambitscheme.org/")
(synopsis "Efficient Scheme interpreter and compiler")
(description
"Gambit consists of two main programs: gsi, the Gambit Scheme
interpreter, and gsc, the Gambit Scheme compiler. The interpreter contains
the complete execution and debugging environment. The compiler is the
interpreter extended with the capability of generating executable files. The
compiler can produce standalone executables or compiled modules which can be
loaded at run time. Interpreted code and compiled code can be freely
mixed.")
;; Dual license.
(license (list lgpl2.1+ asl2.0))))
(define mnemonipass
(package
(name "mnemonipass")
(version "0.0.1")
(source (local-file (dirname (current-filename)) #:recursive? #t))
(build-system gnu-build-system)
(arguments
(list
#:tests? #f
#:make-flags #~(list (string-append "PREFIX=" #$output))
#:phases
#~(modify-phases %standard-phases
(delete 'configure))))
(native-inputs
(list
gambit-495
(list gcc-toolchain "static")))
(synopsis "Mnemonic password generator")
(home-page "https://github.com/a13x5/mnemonipass")
(description "Password generator which generates passwords that are actually easy to remember.")
(license gpl3+)))
mnemonipass