me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-errno-0.2.

* gnu/packages/crates-io.scm (rust-errno-0.2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
master
John Soo 2019-12-19 10:06:04 -08:00 committed by Efraim Flashner
parent 205bb721aa
commit 386f3e46ad
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 26 additions and 0 deletions

View File

@ -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")