mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: Add rust-os-str-bytes-4.
* gnu/packages/crates-io.scm (rust-os-str-bytes-4): New variable. (rust-os-str-bytes-2): Inherit from rust-os-str-bytes-4.
This commit is contained in:
parent
44ceb9ee13
commit
23f56d4b49
1 changed files with 29 additions and 10 deletions
|
@ -39754,8 +39754,36 @@ (define-public rust-os-pipe-0.5
|
|||
("rust-nix" ,rust-nix-0.8)
|
||||
("rust-winapi" ,rust-winapi-0.2))))))
|
||||
|
||||
(define-public rust-os-str-bytes-4
|
||||
(package
|
||||
(name "rust-os-str-bytes")
|
||||
(version "4.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "os-str-bytes" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "16d70qzd2g18i28i6znjcpck0r9hjd5gz5qcr1cl2l9s6d1sknmd"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-memchr" ,rust-memchr-2)
|
||||
("rust-print-bytes" ,rust-print-bytes-0.4)
|
||||
("rust-uniquote" ,rust-uniquote-3))
|
||||
#:cargo-development-inputs
|
||||
(("rust-getrandom" ,rust-getrandom-0.2))))
|
||||
(home-page "https://github.com/dylni/os_str_bytes")
|
||||
(synopsis
|
||||
"Traits for converting between byte sequences and platform-native strings")
|
||||
(description
|
||||
"This package provides a traits for converting between byte sequences and
|
||||
platform-native strings.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-os-str-bytes-2
|
||||
(package
|
||||
(inherit rust-os-str-bytes-4)
|
||||
(name "rust-os-str-bytes")
|
||||
(version "2.4.0")
|
||||
(source
|
||||
|
@ -39767,16 +39795,7 @@ (define-public rust-os-str-bytes-2
|
|||
(sha256
|
||||
(base32
|
||||
"11agh8n3x2l4sr3sxvx6byc1j3ryb1g6flb1ywn0qhq7xv1y3cmg"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments `(#:skip-build? #t))
|
||||
(home-page
|
||||
"https://github.com/dylni/os_str_bytes")
|
||||
(synopsis
|
||||
"Traits for converting between byte sequences and platform-native strings")
|
||||
(description
|
||||
"This package provides a traits for converting between byte sequences and
|
||||
platform-native strings.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
(arguments `(#:skip-build? #t))))
|
||||
|
||||
(define-public rust-ouroboros-macro-0.14
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue