guix-commits
[Top][All Lists]
Advanced

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

156/188: gnu: Add rust-diesel-derives-1.4.


From: guix-commits
Subject: 156/188: gnu: Add rust-diesel-derives-1.4.
Date: Mon, 12 Oct 2020 02:25:30 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit 1af686ad58020064c182574ee6e7d33d87d0c8fe
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Sun Sep 20 23:52:51 2020 +0530

    gnu: Add rust-diesel-derives-1.4.
    
    * gnu/packages/crates-io.scm (rust-diesel-derives-1.4): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0c09011..e093cbd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6374,6 +6374,34 @@ structs and enums.")
         ("rust-lazy-static" ,rust-lazy-static-1)
         ("rust-tempfile" ,rust-tempfile-2))))))
 
+(define-public rust-diesel-derives-1.4
+  (package
+    (name "rust-diesel-derives")
+    (version "1.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "diesel_derives" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1lsq133fwk0zj8xvxhdxqgg0xs31zf3abnwdyshaf0ldca7hkxa5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))
+       #:cargo-development-inputs
+       (("rust-cfg-if" ,rust-cfg-if-0.1)
+        ("rust-diesel" ,rust-diesel-1)
+        ("rust-dotenv" ,rust-dotenv-0.10))))
+    (home-page "https://diesel.rs";)
+    (synopsis "Crate internal to Diesel")
+    (description "You should not use this crate directly, it is internal to
+Diesel.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-diff-0.1
   (package
     (name "rust-diff")



reply via email to

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