summaryrefslogtreecommitdiff
path: root/gnu/packages/patchutils.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-09-04 17:49:26 +0200
committerLudovic Courtès <ludo@gnu.org>2015-09-04 18:27:10 +0200
commit3b6eddb2b27beacf462e9c254ebc6d612dac0129 (patch)
tree50a3a6ba364080932981f2f060d768af83b1aa19 /gnu/packages/patchutils.scm
parent1c74da213706bb3c855811222ff3ce281c3315ad (diff)
gnu: Add 'patches'.
* gnu/packages/patchutils.scm (patches): New variables.
Diffstat (limited to 'gnu/packages/patchutils.scm')
-rw-r--r--gnu/packages/patchutils.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm
index cf8a6e494bc..319ccb21c24 100644
--- a/gnu/packages/patchutils.scm
+++ b/gnu/packages/patchutils.scm
@@ -20,7 +20,9 @@
20 #:use-module (guix packages) 20 #:use-module (guix packages)
21 #:use-module (guix licenses) 21 #:use-module (guix licenses)
22 #:use-module (guix download) 22 #:use-module (guix download)
23 #:use-module (guix git-download)
23 #:use-module (guix build-system gnu) 24 #:use-module (guix build-system gnu)
25 #:use-module (guix build-system python)
24 #:use-module (gnu packages) 26 #:use-module (gnu packages)
25 #:use-module (gnu packages ed) 27 #:use-module (gnu packages ed)
26 #:use-module (gnu packages base) 28 #:use-module (gnu packages base)
@@ -29,6 +31,8 @@
29 #:use-module (gnu packages gawk) 31 #:use-module (gnu packages gawk)
30 #:use-module (gnu packages less) 32 #:use-module (gnu packages less)
31 #:use-module (gnu packages perl) 33 #:use-module (gnu packages perl)
34 #:use-module (gnu packages python)
35 #:use-module (gnu packages mail)
32 #:use-module (gnu packages xml)) 36 #:use-module (gnu packages xml))
33 37
34(define-public patchutils 38(define-public patchutils
@@ -170,3 +174,31 @@ refreshed, and more.")
170 "Colordiff is Perl script wrapper on top of diff command which provides 174 "Colordiff is Perl script wrapper on top of diff command which provides
171'syntax highlighting' for various patch formats.") 175'syntax highlighting' for various patch formats.")
172 (license gpl2+))) 176 (license gpl2+)))
177
178(define-public patches
179 (let ((commit "26d7dbc"))
180 (package
181 (name "patches")
182 (version (string-append "0.0." commit))
183 (source (origin
184 (method git-fetch)
185 (uri (git-reference
186 (url "https://github.com/aliguori/patches")
187 (commit commit)))
188 (sha256
189 (base32
190 "1bah6y84nlii5yif189ns28dz1m9vmsyw66jyk2vr5yf0njf7mzh"))))
191 (build-system python-build-system)
192 (inputs `(("python-notmuch" ,python2-notmuch)))
193 (arguments
194 `(#:tests? #f ;no "test" target
195 #:python ,python-2)) ;not compatible with Python 3
196 (home-page "https://github.com/aliguori/patches")
197 (synopsis "Patch tracking tool")
198 (description
199 "'Patches' is a patch-tracking tool initially written for the QEMU
200project. It provides commands that build a database of patches from a mailing
201list, and commands that can search that database. It allows users to track
202the status of a patch, apply patches, and search for patches---all that from
203the command-line or from Emacs via its Notmuch integration.")
204 (license gpl2+))))