diff options
author | Attila Lendvai <attila@lendvai.name> | 2022-01-20 20:11:48 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-28 01:11:00 +0100 |
commit | 766c0c29cb502df22839976d7762eabc6c4c09a4 (patch) | |
tree | d3ddea7742fcaf174d36146404b21e3146cd79e4 /gnu | |
parent | 41fb5f32f38b7e582801a9c971dbad89a0a2e0bf (diff) | |
download | guix-766c0c29cb502df22839976d7762eabc6c4c09a4.tar guix-766c0c29cb502df22839976d7762eabc6c4c09a4.tar.gz |
gnu: Add rust-integer-sqrt-0.1.
* gnu/packages/crates-io.scm (rust-integer-sqrt-0.1): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e0c02f050a..b3a2436d20 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28529,6 +28529,28 @@ bytestring representations.") ("rust-futures-util" ,rust-futures-util-0.3) ("rust-tokio" ,rust-tokio-0.2)))))) +(define-public rust-integer-sqrt-0.1 + (package + (name "rust-integer-sqrt") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "integer-sqrt" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w6pzmgvs1mldkhafbwg9x7wzr0af3ngkimyb1gy97jarcdw6vi7")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-num-traits" ,rust-num-traits-0.2)))) + (home-page "https://github.com/derekdreery/integer-sqrt-rs") + (synopsis "Integer square root algorithm for primitive rust types") + (description + "This is a Rust implementation of integer square root algorithm for +primitive Rust types.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-interpolate-name-0.2 (package (name "rust-interpolate-name") |