guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

224/299: gnu: Add rust-errno-0.2.


From: guix-commits
Subject: 224/299: gnu: Add rust-errno-0.2.
Date: Thu, 2 Jan 2020 13:19:51 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 386f3e46ad8a5e4fc5fea27d3d2579ed40dc512b
Author: John Soo <address@hidden>
Date:   Thu Dec 19 10:06:04 2019 -0800

    gnu: Add rust-errno-0.2.
    
    * gnu/packages/crates-io.scm (rust-errno-0.2): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fb7bea0..d13005a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2494,6 +2494,32 @@ is configured via an environment variable.")
      "Type-erased Serialize and Serializer traits.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-errno-0.2
+  (package
+    (name "rust-errno")
+    (version "0.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "errno" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0kn8mlygxxr02cm97401nppd2dbkwsalpcbai67rh6yh3rh73862"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-errno-dragonfly" ,rust-errno-dragonfly-0.1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://github.com/lambda-fairy/rust-errno";)
+    (synopsis "Cross-platform interface to the @code{errno} variable")
+    (description
+     "Cross-platform interface to the @code{errno} variable.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-errno-dragonfly-0.1
   (package
     (name "rust-errno-dragonfly")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]