guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/46: gnu: Add rust-alga-derive-0.9.


From: guix-commits
Subject: 06/46: gnu: Add rust-alga-derive-0.9.
Date: Thu, 19 Mar 2020 16:46:07 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 44b748e4f5dd2b026a861f2b6411c74a64863b28
Author: Efraim Flashner <address@hidden>
AuthorDate: Wed Mar 18 22:10:56 2020 +0200

    gnu: Add rust-alga-derive-0.9.
    
    * gnu/packages/crates-io.scm (rust-alga-derive-0.9): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 071e261..b29b11c 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]