blob: 25b077812ec2af942bb02b0b9ace7f4fcd986299 (
plain)
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
67
68
69
70
71
72
|
;;; misc.scm --- miscellaneous Guix packages
;;;
;;; Copyright © 2019-2022 Kyle Meyer <kyle@kyleam.com>
;;;
;;; This file is NOT part of GNU Guix.
;;;
;;; This program is free software; you can redistribute it and/or
;;; modify it under the terms of the GNU General Public License as
;;; published by the Free Software Foundation, either version 3 of the
;;; License, or (at your option) any later version.
;;;
;;; This program is distributed in the hope that it will be useful,
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;;; General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with this program. If not, see
;;; <https://www.gnu.org/licenses/>.
(define-module (km-packages misc)
#:use-module (gnu packages)
#:use-module (gnu packages check)
#:use-module (gnu packages python)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages version-control)
#:use-module ((guix build utils)
#:select (with-directory-excursion))
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils))
(define-public patatt
(package
(name "patatt")
(version "0.4.8")
(source
(origin
(method url-fetch)
(uri (pypi-uri "patatt" version))
(sha256
(base32 "1jj3c2rc5lzgsk3x2bq1295g7h59y9y8vi9a0gzqh3aqka00zqak"))))
(build-system python-build-system)
(arguments '(#:tests? #f)) ; No tests.
(propagated-inputs
`(("python-pynacl" ,python-pynacl)))
(home-page "https://git.kernel.org/pub/scm/utils/patatt/patatt.git")
(synopsis "Tool for cryptographic patch attestation ")
(description "TODO")
;; TODO: It's actually MIT-Zero.
(license license:expat)))
(define-public b4-latest
(let ((commit "7ed8a3cafd5f3ba5b4e914b495bb3035428e2d45"))
(package
(inherit b4)
(version "0.8.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "b4" version))
(sha256
(base32 "115ysciq15sxc8fd9hf7p0f4wnd5xapcfkmq8g33y1c8nbdxclbx"))))
(propagated-inputs
`(("patatt" ,patatt)
,@(package-propagated-inputs b4))))))
|