aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-08-02 19:46:35 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:38:17 +0300
commitb81b5e85fe008f7defeb7a8f805f39cb26707f83 (patch)
tree60eeb267bba93eef33434f140fdc1a78a323b54c /gnu/packages
parent620e15f9323c0bc70537e7934c31baf29648ca48 (diff)
downloadguix-b81b5e85fe008f7defeb7a8f805f39cb26707f83.tar
guix-b81b5e85fe008f7defeb7a8f805f39cb26707f83.tar.gz
gnu: rust-derivative-2: Update to 2.2.0.
* gnu/packages/crates-io.scm (rust-derivative-2): Update to 2.2.0. [source]: Add snippet to allow newer version of input crate. [arguments]: Skip tests.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm13
1 files changed, 10 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 60cefc4280..d8d27bd517 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18906,17 +18906,24 @@ targets")
(define-public rust-derivative-2
(package
(name "rust-derivative")
- (version "2.1.1")
+ (version "2.2.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "derivative" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "03rqx8j9q5nlrpr7w8cwwrvw916pr0ahzs3y8yln18cx6mh2nn6b"))))
+ (base32 "02vpb81wisk2zh1d5f44szzxamzinqgq2k8ydrfjj2wwkrgdvhzw"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (substitute* "Cargo.toml"
+ (("version = \"([[:digit:]]+(\\.[[:digit:]]+)*), <.*\"" _ version)
+ (string-append "version = \"^" version "\"")))))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:tests? #f ; Tests expect a very narrow range for trybuild.
+ #:cargo-inputs
(("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))