aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-29 12:29:43 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-29 15:05:23 +0300
commit1d56009648c350fcb48482a142a8f1fed39f8d6a (patch)
treead3eb60c2107b2d5777df6def7b25dfa00c289f8 /gnu
parentea6415b7878219bc111aef859a559fa6ab99686e (diff)
downloadpatches-1d56009648c350fcb48482a142a8f1fed39f8d6a.tar
patches-1d56009648c350fcb48482a142a8f1fed39f8d6a.tar.gz
gnu: Add rust-plugin.
* gnu/packages/crates-io.scm (rust-plugin): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f7335e85f3..775fbe7680 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -971,6 +971,30 @@ used in Cargo build scripts.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-plugin
+ (package
+ (name "rust-plugin")
+ (version "0.2.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "plugin" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1q7nghkpvxxr168y2jnzh3w7qc9vfrby9n7ygy3xpj0bj71hsshs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-typemap" ,rust-typemap))
+ #:cargo-development-inputs
+ (("rust-void" ,rust-void))))
+ (home-page "https://github.com/reem/rust-plugin")
+ (synopsis "Lazily evaluated, order-independent plugins for extensible types")
+ (description
+ "Lazily evaluated, order-independent plugins for extensible types.")
+ (license license:expat)))
+
(define-public rust-pocket-resources
(package
(name "rust-pocket-resources")