aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-06-03 14:10:05 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-06-06 02:38:22 -0400
commitbe59ed491a78021fb1e7fdab32033c9b547a3b77 (patch)
tree56b0bdb6d7a8bc5800a3e72c78821ccf281b58a1 /gnu/packages/crates-io.scm
parent3a9923d4b84c6330bf54defb4eb25cc13c2c2df7 (diff)
downloadguix-be59ed491a78021fb1e7fdab32033c9b547a3b77.tar
guix-be59ed491a78021fb1e7fdab32033c9b547a3b77.tar.gz
gnu: Add rust-rustfix-0.5.
* gnu/packages/crates-io.scm (rust-rustfix-0.5): New variable. (rust-rustfix-0.4): Inherit from the above.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm31
1 files changed, 26 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 81c564f2d8..d706c9b9cd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
;;; Copyright © 2021 Antero Mejr <antero@kodmin.com>
+;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -64,7 +65,8 @@
#:use-module (gnu packages version-control)
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
- #:use-module (gnu packages xorg))
+ #:use-module (gnu packages xorg)
+ #:use-module (srfi srfi-1))
;;;
;;; Please: Try to add new module packages in alphabetic order.
@@ -35445,10 +35447,10 @@ rustc compiler.")
"This package provides a tool to manipulate rustdoc comments.")
(license license:asl2.0)))
-(define-public rust-rustfix-0.4
+(define-public rust-rustfix-0.5
(package
(name "rust-rustfix")
- (version "0.4.6")
+ (version "0.5.1")
(source
(origin
(method url-fetch)
@@ -35457,12 +35459,12 @@ rustc compiler.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "01zn0ysnass3mmrhxk90584y713vjfq1x97mi4saac99g9vsql3i"))))
+ "0kkhfab60747zpmn8jwfdwl9a2s4rqiq7yjjfs7yppfwp9s0pigj"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-failure" ,rust-failure-0.1)
+ (("rust-anyhow" ,rust-anyhow-1)
("rust-log" ,rust-log-0.4)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1))
@@ -35479,6 +35481,25 @@ rustc compiler.")
"Automatically apply the suggestions made by rustc.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rustfix-0.4
+ (package/inherit rust-rustfix-0.5
+ (name "rust-rustfix")
+ (version "0.4.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustfix" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "01zn0ysnass3mmrhxk90584y713vjfq1x97mi4saac99g9vsql3i"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments rust-rustfix-0.5)
+ ((#:cargo-inputs cargo-inputs)
+ `(("rust-failure" ,rust-failure-0.1)
+ ,@(alist-delete "rust-anyhow" cargo-inputs)))))))
+
(define-public rust-rustls-0.19
(package
(name "rust-rustls")