-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathguix.scm
45 lines (42 loc) · 1.56 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
(use-modules (ice-9 match)
(srfi srfi-1)
(guix gexp)
(guix packages)
(guix licenses)
(guix download)
(guix git-download)
(guix build-system python)
(gnu packages)
(gnu packages base)
(gnu packages check)
(gnu packages python)
(gnu packages time)
(gnu packages python-crypto))
(define %source-dir (dirname (current-filename)))
(define python-pyld-signatures
(package
(name "python-pyld-signatures")
(version "git")
(source (local-file %source-dir
#:recursive? #t
#:select? (git-predicate %source-dir)))
(build-system python-build-system)
(native-inputs
`(("python-sphinx" ,python-sphinx)))
(propagated-inputs
`(("python-cryptography" ,python-cryptography)
("python-isodate" ,python-isodate)
("python-pyld" ,python-pyld)
("python-pytz" ,python-pytz)
("python-pytest" ,python-pytest)))
(home-page "https://github.com/Spec-Ops/pyld-signatures/")
(synopsis "Implementation of Linked Data Signatures using python-pyld.")
(description "python-pyld-signatures is a Python library implementing
the Linked Data Signatures algorithm, for verifiable claims and other purposes.
It builds on python-pyld and integrates nicely with existing json-ld applications.")
(license bsd-3)))
;; Make sure we have Python in our environment
(package
(inherit python-pyld-signatures)
(inputs
`(("python" ,python))))