diff options
author | raingloom <raingloom@riseup.net> | 2020-10-13 09:54:39 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-12-03 16:18:44 +0100 |
commit | eee037ec877b3674ce2c3198a58c8cd97c972df7 (patch) | |
tree | d2fca7f2e6e4b532b147286d4282916a4075f744 /gnu/packages/chicken.scm | |
parent | 5422c7185b5ef0aed063a072952833c35e23ec8e (diff) | |
download | guix-eee037ec877b3674ce2c3198a58c8cd97c972df7.tar.gz guix-eee037ec877b3674ce2c3198a58c8cd97c972df7.zip |
gnu: Added chicken-agrep.
* gnu/packages/chicken.scm (chicken-agrep): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/chicken.scm')
-rw-r--r-- | gnu/packages/chicken.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/chicken.scm b/gnu/packages/chicken.scm index a8b10c8fe9..866ba8a062 100644 --- a/gnu/packages/chicken.scm +++ b/gnu/packages/chicken.scm @@ -165,6 +165,38 @@ CHICKEN Scheme, along with @uref{https://srfi.schemers.org/srfi-90/srfi-90.html, SRFI-90} extensions.") (license license:bsd-3))) +(define-public chicken-agrep + (package + (name "chicken-agrep") + (version "1.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/iraikov/chicken-agrep") + (commit version))) + (file-name (string-append "chicken-agrep-" version "-checkout")) + (sha256 + (base32 + "0z05x7f154n9bgmainrsmncf5i6dil43r9ymr3rdgwbg4wnxmz4s")))) + ;; TODO do we really have to make these propagated? + ;; I don't know Chicken's module system well enough to tell + (propagated-inputs + `(("chicken-datatype" ,chicken-datatype) + ("chicken-srfi-1" ,chicken-srfi-1) + ("chicken-srfi-14" ,chicken-srfi-14))) + (inputs + `(("chicken-test" ,chicken-test))) + (build-system chicken-build-system) + (arguments '(#:egg-name "agrep")) + (synopsis "Approximate string matching library") + (home-page "https://wiki.call-cc.org/eggref/5/agrep") + (description + "This library implements the Wu-Manber algorithm for approximate string +searching with errors, popularized by the agrep Unix command and the glimpse +file indexing tool.") + (license license:gpl3+))) + (define-public chicken-datatype (package (name "chicken-datatype") |