summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-15 12:53:44 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-16 12:47:41 +0200
commit4b758cde3f371ba75e75061b1148e2d00f543044 (patch)
treef0789388d9ac2a61f4e191b45f1ad3dfa13ee758 /gnu/packages
parentf94ded6aab17346407ef929300be7eec64c5dbe1 (diff)
downloadguix-4b758cde3f371ba75e75061b1148e2d00f543044.tar.gz
gnu: Add rust-shlex-1.
* gnu/packages/crates-io.scm (rust-shlex-1): New variable.
(rust-shlex-0.1): Inherit from above.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4f3a29fee0..b3de2face8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41124,6 +41124,25 @@ perform shell-like expansions in strings, that is, to expand variables like
 some context).")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-shlex-1
+  (package
+    (name "rust-shlex")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "shlex" version))
+       (file-name (string-append name "-" version ".crate"))
+       (sha256
+        (base32 "0gf773p2snqpw69rzh8s1wdlq8dc8c1ypmiv516il1fdyb46i9a2"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/comex/rust-shlex")
+    (synopsis "Split a string into shell words, like Python's shlex")
+    (description "This crate provides a method to split a string into shell
+words, like Python's shlex.")
+    (license (list license:asl2.0
+                   license:expat))))
+
 (define-public rust-shlex-0.1
   (package
     (name "rust-shlex")