diff options
author | Marius Bakke <marius@gnu.org> | 2022-07-25 15:38:58 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-07-27 12:31:24 +0200 |
commit | 433cca4bc1da760693a5c9ff74e4429bb7cff9f3 (patch) | |
tree | 0c057164cadb77afb78242213cc7efd62086f121 /gnu | |
parent | b9ad6cb413f7de052e24654201f7a56dcb3411b0 (diff) | |
download | guix-433cca4bc1da760693a5c9ff74e4429bb7cff9f3.tar guix-433cca4bc1da760693a5c9ff74e4429bb7cff9f3.tar.gz |
gnu: rust-cast: Add 0.3.
* gnu/packages/crates-io.scm (rust-cast-0.3): New variable.
(rust-cast-0.2): Inherit from it.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index eeab528ced..38b10b6232 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10177,8 +10177,32 @@ using linear constraints, like ``this button must line up with this text box''.") (license (list license:expat license:asl2.0)))) +(define-public rust-cast-0.3 + (package + (name "rust-cast") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "cast" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1dbyngbyz2qkk0jn2sxil8vrz3rnpcj142y184p9l4nbl9radcip")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-quickcheck" ,rust-quickcheck-1)))) + (home-page "https://github.com/japaric/cast.rs") + (synopsis + "Ergonomic, checked cast functions for primitive types") + (description + "Ergonomic, checked cast functions for primitive types.") + (license (list license:expat license:asl2.0)))) + (define-public rust-cast-0.2 (package + (inherit rust-cast-0.3) (name "rust-cast") (version "0.2.3") (source @@ -10196,13 +10220,7 @@ box''.") #:cargo-inputs (("rust-rustc-version" ,rust-rustc-version-0.2)) #:cargo-development-inputs - (("rust-quickcheck" ,rust-quickcheck-0.9)))) - (home-page "https://github.com/japaric/cast.rs") - (synopsis - "Ergonomic, checked cast functions for primitive types") - (description - "Ergonomic, checked cast functions for primitive types.") - (license (list license:expat license:asl2.0)))) + (("rust-quickcheck" ,rust-quickcheck-0.9)))))) (define-public rust-cblas-sys-0.1 (package |