summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZheng junjie <873216071@qq.com>2021-06-11 21:11:59 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-13 19:14:14 +0200
commitdee3c3bfcc11227106cd9f7e2b3060a3aa3db905 (patch)
treeb091cc2e99a50e92c8a3773b562e5376355a09cc /gnu/packages
parent0cc855cf737fd655b7983875c09ea2058d17a502 (diff)
downloadguix-dee3c3bfcc11227106cd9f7e2b3060a3aa3db905.tar.gz
gnu: Add rust-xflags-0.2.
* gnu/packages/crates-io.scm (rust-xflags-0.2): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6cdb721236..89dc8b23e4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53122,6 +53122,31 @@ to XDG Base Directory specification.")
       "This package provides a private implementation details of xflags.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-xflags-0.2
+  (package
+    (name "rust-xflags")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "xflags" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "12i0m43fmvwhlqid5xbr017c12j7jv3vlkjv04q428mpl3k6rbar"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-xflags-macros" ,rust-xflags-macros-0.2))))
+    (home-page "https://github.com/matklad/xflags")
+    (synopsis
+     "Moderately simple command line arguments parser")
+    (description
+     "This package provides a moderately simple command line arguments parser.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-xml-rs-0.8
   (package
     (name "rust-xml-rs")