gnu: treefmt: Update to 0.6.1.
* gnu/packages/rust-apps.scm (treefmt): Update to 0.6.1. [cargo-inputs]: Add rust-clap-4, rust-clap-verbosity-flag-2, rust-env-logger-0.10. Remove rust-structopt-0.3. [cargo-development-inputs]: Add rust-mockall-0.11. Change-Id: I3d0ae836eeca909dd84eb0782f4451f4ac392ed8
This commit is contained in:
parent
aa47b07718
commit
be2e7d95b6
1 changed files with 8 additions and 6 deletions
|
@ -2048,22 +2048,24 @@ of support files.")
|
||||||
(define-public treefmt
|
(define-public treefmt
|
||||||
(package
|
(package
|
||||||
(name "treefmt")
|
(name "treefmt")
|
||||||
(version "0.4.1")
|
(version "0.6.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "treefmt" version))
|
(uri (crate-uri "treefmt" version))
|
||||||
(file-name
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(string-append name "-" version ".tar.gz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1rarg6rffzl1cf6r167h9p14wr696kwnzr85kwbdy7x7x5zpj5li"))))
|
(base32 "1pfx8kgaf0rc8ijps2fqb61gjnak3sf430hvg52bnby9qqyd51h8"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:install-source? #f
|
`(#:install-source? #f
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-anyhow" ,rust-anyhow-1)
|
(("rust-anyhow" ,rust-anyhow-1)
|
||||||
|
("rust-clap" ,rust-clap-4)
|
||||||
|
("rust-clap-verbosity-flag" ,rust-clap-verbosity-flag-2)
|
||||||
("rust-console" ,rust-console-0.13)
|
("rust-console" ,rust-console-0.13)
|
||||||
("rust-directories" ,rust-directories-3)
|
("rust-directories" ,rust-directories-3)
|
||||||
|
("rust-env-logger" ,rust-env-logger-0.10)
|
||||||
("rust-filetime" ,rust-filetime-0.2)
|
("rust-filetime" ,rust-filetime-0.2)
|
||||||
("rust-globset" ,rust-globset-0.4)
|
("rust-globset" ,rust-globset-0.4)
|
||||||
("rust-ignore" ,rust-ignore-0.4)
|
("rust-ignore" ,rust-ignore-0.4)
|
||||||
|
@ -2073,12 +2075,12 @@ of support files.")
|
||||||
("rust-serde" ,rust-serde-1)
|
("rust-serde" ,rust-serde-1)
|
||||||
("rust-serde-json" ,rust-serde-json-1)
|
("rust-serde-json" ,rust-serde-json-1)
|
||||||
("rust-sha-1" ,rust-sha-1-0.9)
|
("rust-sha-1" ,rust-sha-1-0.9)
|
||||||
("rust-structopt" ,rust-structopt-0.3)
|
|
||||||
("rust-tempfile" ,rust-tempfile-3)
|
("rust-tempfile" ,rust-tempfile-3)
|
||||||
("rust-toml" ,rust-toml-0.5)
|
("rust-toml" ,rust-toml-0.5)
|
||||||
("rust-which" ,rust-which-4))
|
("rust-which" ,rust-which-4))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-criterion" ,rust-criterion-0.3))))
|
(("rust-criterion" ,rust-criterion-0.3)
|
||||||
|
("rust-mockall" ,rust-mockall-0.11))))
|
||||||
(home-page "https://numtide.github.io/treefmt")
|
(home-page "https://numtide.github.io/treefmt")
|
||||||
(synopsis "Command-line application to format the code tree")
|
(synopsis "Command-line application to format the code tree")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue