-
Notifications
You must be signed in to change notification settings - Fork 0
/
guix.scm
50 lines (48 loc) · 1.36 KB
/
guix.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
(use-modules
(guix packages)
((guix licenses) #:prefix license:)
(guix download)
(guix git-download)
(guix gexp)
(guix build-system gnu)
(gnu packages)
(gnu packages autotools)
(gnu packages guile)
(gnu packages guile-xyz)
(gnu packages ibus)
(gnu packages pkg-config)
(gnu packages texinfo)
(guix transformations))
(define %srcdir
(dirname (current-filename)))
(define trans (options->transformation
'((with-version . "librime=1.8.3"))))
(package
(name "guile-rime")
(version "0.1")
(source (local-file "." "guile-rime-checkout"
#:recursive? #t
#:select? (git-predicate %srcdir)))
(build-system gnu-build-system)
(arguments (list #:configure-flags
#~(list (string-append "--with-rime-data-dir="
#$(this-package-input "rime-data")
"/share/rime-data"))
#:make-flags
#~(list "GUILE_AUTO_COMPILE=0")))
(native-inputs
(list autoconf
automake
pkg-config
texinfo
;;; for demo
guile-ncurses))
(inputs (list guile-3.0
(trans librime)
(trans rime-data)))
(propagated-inputs
(list guile-bytestructures))
(synopsis "")
(description "")
(home-page "")
(license license:gpl3+))