mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 11:39:46 -05:00
gnu: Add rust-clircle-0.4.
* gnu/packages/crates-io.scm (rust-clircle-0.4): New variable. (rust-clircle-0.3): Inherit from rust-clircle-0.4. Change-Id: I36750eb0edf8824fa86d075fcf6f3a93cafe0f22 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
2a3ff29d77
commit
770a5aa847
1 changed files with 30 additions and 10 deletions
|
@ -12188,8 +12188,37 @@ (define-public rust-clippy-0.0
|
|||
pitfalls in Rust.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-clircle-0.4
|
||||
(package
|
||||
(name "rust-clircle")
|
||||
(version "0.4.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "clircle" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0056l1bf2zmd7xs13xp8gxw9j9dngw4im0m8ijyifkrmsnz7rs68"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-serde" ,rust-serde-1)
|
||||
("rust-winapi" ,rust-winapi-0.3))
|
||||
#:cargo-development-inputs (("rust-nix" ,rust-nix-0.24)
|
||||
("rust-tempfile" ,rust-tempfile-3))))
|
||||
(home-page "https://github.com/niklasmohrin/clircle")
|
||||
(synopsis "Detect IO circles in your CLI apps arguments")
|
||||
(description
|
||||
"Clircle provides a cross-platform API to detect read or write cycles
|
||||
from your user-supplied arguments. You can get the important identifiers of
|
||||
a file (from a path) and for all three stdio streams, if they are piped from
|
||||
or to a file as well.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-clircle-0.3
|
||||
(package
|
||||
(inherit rust-clircle-0.4)
|
||||
(name "rust-clircle")
|
||||
(version "0.3.0")
|
||||
(source
|
||||
|
@ -12199,22 +12228,13 @@ (define-public rust-clircle-0.3
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "15p36klnsgjimfswi0mjc7wsh4b662v7gbfinh56ipk3bacbv2z6"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-cfg-if" ,rust-cfg-if-1)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-serde" ,rust-serde-1)
|
||||
("rust-winapi" ,rust-winapi-0.3))))
|
||||
(home-page "https://github.com/niklasmohrin/clircle")
|
||||
(synopsis "Detect IO circles in your CLI apps arguments")
|
||||
(description
|
||||
"Clircle provides a cross-platform API to detect read or write cycles
|
||||
from your user-supplied arguments. You can get the important identifiers of
|
||||
a file (from a path) and for all three stdio streams, if they are piped from
|
||||
or to a file as well.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-winapi" ,rust-winapi-0.3))))))
|
||||
|
||||
(define-public rust-cloudabi-0.1
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue