summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 18:38:02 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:44 +0100
commitb99b5519aa83f4ff2a606f4560b52b0965d24fe9 (patch)
tree82488b0d1835ca4202f345746164e12546129cd0 /gnu/packages/crates-io.scm
parent0ba858ed891012485e73dd90f50e6bed5674c224 (diff)
gnu: Add rust-paste-1.
* gnu/packages/crates-io.scm (rust-paste-1): New variable. (rust-paste-0.1): Inherit from above.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 21 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8866a8522d..2f8a4dd224 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26656,8 +26656,28 @@ and would-block I/O operations.")
("rust-tokio-core" ,rust-tokio-core-0.1))))
(license license:bsd-3)))
+(define-public rust-paste-1
+ (package
+ (name "rust-paste")
+ (version "1.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "paste" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1hfikh0bds8hqn371l2wf039mp6b5wrmwrwg96jcs6lkjm6mrmn5"))))
+ (build-system cargo-build-system)
+ (arguments `(#:skip-build? #t))
+ (home-page "https://github.com/dtolnay/paste")
+ (synopsis "Macros for all your token pasting needs")
+ (description
+ "This package provides macros for all your token pasting needs.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-paste-0.1
(package
+ (inherit rust-paste-1)
(name "rust-paste")
(version "0.1.18")
(source
@@ -26669,19 +26689,13 @@ and would-block I/O operations.")
(sha256
(base32
"10587zrlmzhq66yhd0z36fzglf32m1nlhi9bxxm6dgl0gp3j1jj5"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-paste-impl" ,rust-paste-impl-0.1)
("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5))
#:cargo-development-inputs
(("rust-rustversion" ,rust-rustversion-1)
- ("rust-trybuild" ,rust-trybuild-1))))
- (home-page "https://github.com/dtolnay/paste")
- (synopsis "Macros for all your token pasting needs")
- (description
- "Macros for all your token pasting needs.")
- (license (list license:asl2.0 license:expat))))
+ ("rust-trybuild" ,rust-trybuild-1))))))
(define-public rust-paste-impl-0.1
(package