mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 23:32:24 -05:00
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.
This commit is contained in:
parent
3a9923d4b8
commit
be59ed491a
1 changed files with 26 additions and 5 deletions
|
@ -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 @@ (define-module (gnu packages crates-io)
|
|||
#: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 @@ (define-public rust-rustdoc-stripper-0.1
|
|||
"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 @@ (define-public rust-rustfix-0.4
|
|||
(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 @@ (define-public rust-rustfix-0.4
|
|||
"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")
|
||||
|
|
Loading…
Reference in a new issue