diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-04-14 16:35:30 +0200 |
---|---|---|
committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-04-16 10:28:30 +0200 |
commit | f571e1c34600dc4621506e8745e36442f9896970 (patch) | |
tree | e928ceb3e84a4721c667aa45615f4db4cf5f52ed /gnu/packages | |
parent | 4f2bde44330b32d5d34170a46553b9b5036cd2d3 (diff) | |
download | guix-patches-f571e1c34600dc4621506e8745e36442f9896970.tar guix-patches-f571e1c34600dc4621506e8745e36442f9896970.tar.gz |
gnu: Add libgtextutils.
* gnu/packages/textutils.scm (libgtextutils): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/textutils.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index d6cc577e7d..8f00b1f6aa 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -23,6 +23,7 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system gnu) + #:use-module (gnu packages autotools) #:use-module (gnu packages python)) (define-public recode @@ -122,3 +123,33 @@ libenca and several charset conversion libraries and tools.") normalization, case-folding, and other operations for data in the UTF-8 encoding, supporting Unicode version 7.0.") (license license:expat))) + +(define-public libgtextutils + (package + (name "libgtextutils") + (version "0.7") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/agordon/libgtextutils/releases/download/" + version "/libgtextutils-" version ".tar.gz")) + (sha256 + (base32 "0jiybkb2z58wa2msvllnphr4js2hvjvh988pavb3mzkgr6ihwbkr")))) + (build-system gnu-build-system) + (arguments + '(#:phases + (alist-cons-after + 'unpack 'autoreconf + (lambda _ (zero? (system* "autoreconf" "-vif"))) + %standard-phases))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool))) + (home-page "https://github.com/agordon/libgtextutils") + (synopsis "Gordon's text utils library") + (description + "libgtextutils is a text utilities library used by the fastx toolkit from +the Hannon Lab.") + (license license:agpl3+))) |