summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 22:18:44 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 23:36:09 +0100
commitb4b4a96fe6fad9e9016277a94f4ffe56f23a2326 (patch)
tree66108571514d35fdaf25ce62598d0c116baa6d97
parentcc8489ba494861c9a3b38743882dab6f083b6179 (diff)
downloadguix-b4b4a96fe6fad9e9016277a94f4ffe56f23a2326.tar.gz
gnu: Add rust-users-0.11.
* gnu/packages/crates-io.scm (rust-users-0.11): New variable.
(rust-users-0.10): Inherit from above.
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 25 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1a60a668e3..fba00154a4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45611,8 +45611,32 @@ encoding.")
 See winapi for types and constants.")
     (license license:expat)))
 
+(define-public rust-users-0.11
+  (package
+    (name "rust-users")
+    (version "0.11.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "users" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0cmhafhhka2yya66yrprlv33kg7rm1xh1pyalbjp6yr6dxnhzk14"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-log" ,rust-log-0.4))))
+    (home-page "https://github.com/ogham/rust-users")
+    (synopsis "Library for getting information on Unix users and groups")
+    (description "This package provides a library for getting information on
+Unix users and groups.")
+    (license license:expat)))
+
 (define-public rust-users-0.10
   (package
+    (inherit rust-users-0.11)
     (name "rust-users")
     (version "0.10.0")
     (source
@@ -45624,18 +45648,12 @@ See winapi for types and constants.")
         (sha256
          (base32
           "11plda5r3dl8hs0sl0jskazam4ayv3a06vmhzk4l7914agljfhma"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-libc" ,rust-libc-0.2)
         ("rust-log" ,rust-log-0.4))
        #:cargo-development-inputs
-       (("rust-env-logger" ,rust-env-logger-0.7))))
-    (home-page "https://github.com/ogham/rust-users")
-    (synopsis "Library for getting information on Unix users and groups")
-    (description "This package provides a library for getting information on
-Unix users and groups.")
-    (license license:expat)))
+       (("rust-env-logger" ,rust-env-logger-0.7))))))
 
 (define-public rust-users-0.9
   (package