From 2d55de5237b07a11c24dddfd8b0001570916bb4b Mon Sep 17 00:00:00 2001 From: jgart Date: Wed, 26 Jan 2022 20:45:11 -0500 Subject: add jrep --- gn/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gn') diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm index 7b92f63..276925c 100644 --- a/gn/packages/crates-io.scm +++ b/gn/packages/crates-io.scm @@ -79,3 +79,35 @@ Command Line Argument Parser.") (license (list license:expat license:asl2.0)))) +(define-public jrep + (package + (name "jrep") + (version "0.1.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/joshua-laughner/jrep") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0syvlc93w26v856hp5l8ik615dfrvax6hdfzw5kqhaww3siqjaj9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-clap" ,rust-clap-for-jrep) + ("rust-exitcode" ,rust-exitcode-1) + ("rust-term" ,rust-term-0.7) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/joshua-laughner/jrep/") + (synopsis "grep for Jupyter notebooks") + (description +"@code{jrep} is @code{grep} for Jupyter notebooks. It is a command line +program that can search across multiple notebooks for specific text, +but limit itself to certain types of cells, source text, output data, +or any combination.") + (license license:gpl3+))) + -- cgit v1.2.3