mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-07 03:44:06 -05:00
gnu: Add rust-errno-0.3.
* gnu/packages/crates-io.scm (rust-errno-0.3): New variable. (rust-errno-0.2): Inherit from rust-errno-0.3.
This commit is contained in:
parent
6951585b5b
commit
eb5c1c1574
1 changed files with 26 additions and 8 deletions
|
@ -21243,8 +21243,33 @@ (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.3
|
||||
(package
|
||||
(name "rust-errno")
|
||||
(version "0.3.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "errno" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0fp7qy6fwagrnmi45msqnl01vksqwdb2qbbv60n9cz7rf0xfrksb"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-errno-dragonfly" ,rust-errno-dragonfly-0.1)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-windows-sys" ,rust-windows-sys-0.48))))
|
||||
(home-page "https://github.com/lambda-fairy/rust-errno")
|
||||
(synopsis "Cross-platform interface to the @code{errno} variable")
|
||||
(description
|
||||
"This package provides a cross-platform interface to the
|
||||
@code{errno} variable.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-errno-0.2
|
||||
(package
|
||||
(inherit rust-errno-0.3)
|
||||
(name "rust-errno")
|
||||
(version "0.2.8")
|
||||
(source
|
||||
|
@ -21255,19 +21280,12 @@ (define-public rust-errno-0.2
|
|||
(sha256
|
||||
(base32
|
||||
"18cnqgk8r6lq1n5cfy3bryiyz9zkqr10dxj49sa3fkzfamih8fgn"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
(list #: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
|
||||
"This package provides a cross-platform interface to the
|
||||
@code{errno} variable.")
|
||||
(license (list license:asl2.0 license:expat))))
|
||||
("rust-winapi" ,rust-winapi-0.3))))))
|
||||
|
||||
(define-public rust-errno-dragonfly-0.1
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue