about summary refs log tree commit diff
diff options
context:
space:
mode:
authorjgart2022-01-26 20:45:11 -0500
committerjgart2022-01-26 20:45:11 -0500
commit2d55de5237b07a11c24dddfd8b0001570916bb4b (patch)
tree3cddc0cd72a47ae04a86120d7001472743136ec8
parent30b5079f5fa709bb04e1f88782d6de21b1fbdb68 (diff)
downloadguix-bioinformatics-2d55de5237b07a11c24dddfd8b0001570916bb4b.tar.gz
add jrep
-rw-r--r--gn/packages/crates-io.scm32
1 files changed, 32 insertions, 0 deletions
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+)))
+