diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-28 15:46:03 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-28 16:53:03 +0300 |
commit | d68d00298dbe2856a442687540ad518132329135 (patch) | |
tree | f17893a8a25dab5a8a965670b3198b6c67663612 | |
parent | 0c15f1432cd67299b2e3fd59421fcef120eadb8c (diff) |
gnu: Add rust-defmac.
* gnu/packages/crates-io.scm (rust-defmac): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5a682d466c..0ced169f1b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -240,6 +240,25 @@ depending on a large number of #[cfg] parameters. Structured like an hexadecimal, bas32, and base64.") (license license:expat))) +(define-public rust-defmac + (package + (name "rust-defmac") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "defmac" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "01ff3jdmcc5waffkwllndnx5hsn414r7x1rq4ib73n7awsyzxkxv")))) + (build-system cargo-build-system) + (home-page "https://github.com/bluss/defmac") + (synopsis "Macro to define lambda-like macros inline") + (description "A macro to define lambda-like macros inline.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-discard (package (name "rust-discard") |