-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.scm
executable file
·31 lines (29 loc) · 1.02 KB
/
main.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
(use-modules (guix)
(guix build-system cmake)
(guix licenses)
(guix git-download)
(gnu packages guile)
(gnu packages cmake)
(gnu packages pkg-config))
(package
(name "example-guix-guile-package")
(version "0.0.1")
(source (local-file "." "guix-guile-example"
#:select? (git-predicate
(dirname (assoc-ref
(current-source-location)
'filename)))
#:recursive? #t))
(native-inputs
`(("pkg-config" ,pkg-config)
("cmake" ,cmake)))
(inputs
`(("guile-3.0" ,guile-3.0)))
(build-system cmake-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(delete 'check))))
(synopsis "Packaging with guix is hard.")
(description "This is a mixed guile and C package using CMake")
(home-page "http://github.com/mjlbach/example-guix-package")
(license gpl3+))