-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathguix.scm
36 lines (34 loc) · 1.18 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
(use-modules (guix git)
(guix gexp)
(guix git-download)
(guix utils)
(guix download)
(guix packages)
(guix modules)
(guix licenses)
(guix build-system)
(guix build-system zig)
(guix build-system copy)
(gnu packages)
(gnu packages llvm)
(gnu packages llvm-meta)
(gnu packages zig)
(gnu packages base)
(gnu packages compression)
((guix licenses) #:prefix license:))
(define vcs-file?
;; Return true if the given file is under version control.
(or (git-predicate (current-source-directory))
(const #t)))
(package
(name "zig-typeid")
(version "0.0.1")
(source (local-file "." "zig-typeid" #:recursive? #t #:select? vcs-file?))
(build-system zig-build-system)
(arguments
`(#:install-source? #f
#:tests? #t))
(home-page "https://ziglang.org/")
(synopsis "General-purpose programming language and toolchain")
(description "Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.")
(license license:bsd-2))