diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-09-04 17:49:26 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-09-04 18:27:10 +0200 |
commit | 3b6eddb2b27beacf462e9c254ebc6d612dac0129 (patch) | |
tree | 50a3a6ba364080932981f2f060d768af83b1aa19 /gnu/packages/patchutils.scm | |
parent | 1c74da213706bb3c855811222ff3ce281c3315ad (diff) | |
download | patches-3b6eddb2b27beacf462e9c254ebc6d612dac0129.tar patches-3b6eddb2b27beacf462e9c254ebc6d612dac0129.tar.gz |
gnu: Add 'patches'.
* gnu/packages/patchutils.scm (patches): New variables.
Diffstat (limited to 'gnu/packages/patchutils.scm')
-rw-r--r-- | gnu/packages/patchutils.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/patchutils.scm b/gnu/packages/patchutils.scm index cf8a6e494b..319ccb21c2 100644 --- a/gnu/packages/patchutils.scm +++ b/gnu/packages/patchutils.scm @@ -20,7 +20,9 @@ #:use-module (guix packages) #:use-module (guix licenses) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) + #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages ed) #:use-module (gnu packages base) @@ -29,6 +31,8 @@ #:use-module (gnu packages gawk) #:use-module (gnu packages less) #:use-module (gnu packages perl) + #:use-module (gnu packages python) + #:use-module (gnu packages mail) #:use-module (gnu packages xml)) (define-public patchutils @@ -170,3 +174,31 @@ refreshed, and more.") "Colordiff is Perl script wrapper on top of diff command which provides 'syntax highlighting' for various patch formats.") (license gpl2+))) + +(define-public patches + (let ((commit "26d7dbc")) + (package + (name "patches") + (version (string-append "0.0." commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/aliguori/patches") + (commit commit))) + (sha256 + (base32 + "1bah6y84nlii5yif189ns28dz1m9vmsyw66jyk2vr5yf0njf7mzh")))) + (build-system python-build-system) + (inputs `(("python-notmuch" ,python2-notmuch))) + (arguments + `(#:tests? #f ;no "test" target + #:python ,python-2)) ;not compatible with Python 3 + (home-page "https://github.com/aliguori/patches") + (synopsis "Patch tracking tool") + (description + "'Patches' is a patch-tracking tool initially written for the QEMU +project. It provides commands that build a database of patches from a mailing +list, and commands that can search that database. It allows users to track +the status of a patch, apply patches, and search for patches---all that from +the command-line or from Emacs via its Notmuch integration.") + (license gpl2+)))) |