aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-04-21 00:02:55 -0400
committerKyle Meyer <kyle@kyleam.com>2020-04-21 00:07:27 -0400
commit461c9c85f78ad6fc81624262d99a81802fb61613 (patch)
treee97462fd5aed5f52f740aad3d8f20eea7d893014
parentf74b15b4e311a32efcd791fbb26b6f8decc336ad (diff)
downloadguix-packages-461c9c85f78ad6fc81624262d99a81802fb61613.tar.gz
misc: Add b4
-rw-r--r--km-packages/misc.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/km-packages/misc.scm b/km-packages/misc.scm
index 7f652c5..645d1ff 100644
--- a/km-packages/misc.scm
+++ b/km-packages/misc.scm
@@ -21,10 +21,12 @@
(define-module (km-packages misc)
#:use-module (gnu packages)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#: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:)
@@ -73,3 +75,26 @@
(synopsis "todo")
(description "todo")
(license license:gpl3)))
+
+(define-public b4
+ (let ((commit "cbcc79012d44e6b7e79583d078409628b8834a69"))
+ (package
+ (name "b4")
+ (version (git-version "0.3.4" "0" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.kernel.org/pub/scm/utils/b4/b4.git")
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "1x73r59h097fsk57i3k0y26qilz4iq1ppn7fxs30fdfqgx7ga2l3"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-requests" ,python-requests)))
+ (home-page "https://git.kernel.org/pub/scm/utils/b4/b4.git")
+ (synopsis "A tool to work with public-inbox patches")
+ (description "todo")
+ (license license:gpl2+))))