aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-20 03:47:17 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-24 11:05:55 +0200
commit3d916a115b3e1d95918b38119ff1999e4953032c (patch)
treef994b26b0e2dd538df8b95917165a5306236c77d
parent9e24643d675672271e593b6c3f0df806285cba39 (diff)
downloadpatches-3d916a115b3e1d95918b38119ff1999e4953032c.tar
patches-3d916a115b3e1d95918b38119ff1999e4953032c.tar.gz
gnu: Add rust-euclid-0.20.
* gnu/packages/crates-io.scm (rust-euclid-0.20): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1c72ffce8f..b570b65ec5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4199,6 +4199,32 @@ is configured via an environment variable.")
"Yet another error boilerplate library.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-euclid-0.20
+ (package
+ (name "rust-euclid")
+ (version "0.20.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "euclid" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0pa8kxblvc0s9gia9n0966w7169aswpg7knw2pmwrqa204r2v19z"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-mint" ,rust-mint-0.5)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-serde" ,rust-serde-1.0))
+ #:cargo-development-inputs
+ (("rust-serde-test" ,rust-serde-test-1.0))))
+ (home-page "https://github.com/servo/euclid")
+ (synopsis "Geometry primitives")
+ (description "Geometry primitives written in Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-fake-simd-0.1
(package
(name "rust-fake-simd")