aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-18 22:10:56 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-03-19 22:33:20 +0200
commit44b748e4f5dd2b026a861f2b6411c74a64863b28 (patch)
treef534c5f92f0b3ebfefa29f3b6ad4ed9e335f82b8
parent34d0c1e7dd25acc43385f4cb91b928b437503a9d (diff)
downloadpatches-44b748e4f5dd2b026a861f2b6411c74a64863b28.tar
patches-44b748e4f5dd2b026a861f2b6411c74a64863b28.tar.gz
gnu: Add rust-alga-derive-0.9.
* gnu/packages/crates-io.scm (rust-alga-derive-0.9): New variable.
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 071e2619fa..b29b11cb81 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -219,6 +219,33 @@ the Rust programming language.")
("rust-rand" ,rust-rand-0.3)
("rust-rustc-serialize" ,rust-rustc-serialize-0.3))))))
+(define-public rust-alga-derive-0.9
+ (package
+ (name "rust-alga-derive")
+ (version "0.9.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "alga-derive" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0a2594j6blczz18vfg85agr7vsjrbq6900d3xwxw0zzbqj9j2adz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-edit-distance" ,rust-edit-distance-2.1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1.0)
+ ("rust-quickcheck" ,rust-quickcheck-0.9)
+ ("rust-quote" ,rust-quote-1.0)
+ ("rust-syn" ,rust-syn-1.0))))
+ (home-page "https://github.com/rustsim/alga")
+ (synopsis "Dutomatic deriving of abstract algebra traits")
+ (description "Derive attribute for implementing algebraic traits from the
+@code{alga} crate.")
+ (license license:asl2.0)))
+
(define-public rust-andrew-0.2
(package
(name "rust-andrew")