mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-30 16:12:58 -05:00
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>
This commit is contained in:
parent
205bb721aa
commit
386f3e46ad
1 changed files with 26 additions and 0 deletions
|
@ -2494,6 +2494,32 @@ (define-public rust-erased-serde-0.3
|
|||
"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")
|
||||
|
|
Loading…
Reference in a new issue