diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2020-10-18 00:19:43 +0200 |
---|---|---|
committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2020-12-02 21:53:44 +0100 |
commit | d81dee205c89dc4352b819b265ec70d7ca80b935 (patch) | |
tree | 36ca7d0ee727569b83e7559568ccb46ef89af091 /gnu | |
parent | 325b4c83dbc050de89f77bdb389995746b8dfdf0 (diff) | |
download | guix-d81dee205c89dc4352b819b265ec70d7ca80b935.tar guix-d81dee205c89dc4352b819b265ec70d7ca80b935.tar.gz |
gnu: Add rust-bzip2-0.4.
* gnu/packages/crates-io.scm(rust-bzip2-0.4): New variable, skipping
build. (rust-bzip2-0.3): Inherit from rust-bzip2-0.4.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 41 |
1 files changed, 34 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bf58c6eb13..c9e1d0e221 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3069,10 +3069,10 @@ little-endian.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) -(define-public rust-bzip2-0.3 +(define-public rust-bzip2-0.4 (package (name "rust-bzip2") - (version "0.3.3") + (version "0.4.1") (source (origin (method url-fetch) @@ -3080,18 +3080,18 @@ little-endian.") (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0fvfwanp42j1zpig880jhb5mc0na50bijmwd6211p77sy35w7ds2")))) + (base32 "1gpwm7qj8adi0zffm8r17vkv6f98d1q9glvpjk28v0wb6kz88p97")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:skip-build? #t + #:cargo-inputs (("rust-bzip2-sys" ,rust-bzip2-sys-0.1) ("rust-futures" ,rust-futures-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-tokio-io" ,rust-tokio-io-0.1)) #:cargo-development-inputs - (("rust-partial-io" ,rust-partial-io-0.2) - ("rust-quickcheck" ,rust-quickcheck-0.4) + (("rust-partial-io" ,rust-partial-io-0.3) + ("rust-quickcheck" ,rust-quickcheck-0.9) ("rust-rand" ,rust-rand-0.3) ("rust-tokio-core" ,rust-tokio-core-0.1)))) (home-page "https://github.com/alexcrichton/bzip2-rs") @@ -3102,6 +3102,33 @@ little-endian.") exposed as Reader/Writer streams.") (license (list license:expat license:asl2.0)))) +(define-public rust-bzip2-0.3 + (package + (inherit rust-bzip2-0.4) + (name "rust-bzip2") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "bzip2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fvfwanp42j1zpig880jhb5mc0na50bijmwd6211p77sy35w7ds2")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bzip2-sys" ,rust-bzip2-sys-0.1) + ("rust-futures" ,rust-futures-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-tokio-io" ,rust-tokio-io-0.1)) + #:cargo-development-inputs + (("rust-partial-io" ,rust-partial-io-0.2) + ("rust-quickcheck" ,rust-quickcheck-0.4) + ("rust-rand" ,rust-rand-0.3) + ("rust-tokio-core" ,rust-tokio-core-0.1)))))) + (define-public rust-bzip2-sys-0.1 (package (name "rust-bzip2-sys") |