mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-20 05:37:34 -05:00
gnu: Add rust-is-executable-1.
* gnu/packages/crates-io.scm (rust-is-executable-1): New variable. (rust-is-executable): Remove variable.
This commit is contained in:
parent
daaa3ba07f
commit
2c78572bd9
1 changed files with 11 additions and 21 deletions
|
@ -22588,33 +22588,23 @@ (define-public rust-iron-0.6
|
|||
and locking in the core framework.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-is-executable
|
||||
(define-public rust-is-executable-1
|
||||
(package
|
||||
(name "rust-is-executable")
|
||||
(version "0.1.2")
|
||||
(version "1.0.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "is_executable" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0xy516afjh79a0d53j9v4w5mgi2s0r6f6qynnyz8g0dwi8xmab9h"))))
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "is_executable" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1j59iqaxcgax0qll30rarpcr7y3dpkl38iv4mlkfcxbvsv3cv6ps"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(;; One test tries to invoke 'cargo readme' which does not exist and aborts.
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-test
|
||||
(lambda _
|
||||
(substitute* "tests/tests.rs"
|
||||
(("panic!\\(\"Run `cargo readme > README.md` to update README.md\"\\)")
|
||||
"return;"))
|
||||
#t)))
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-diff" ,rust-diff-0.1)
|
||||
("rust-winapi" ,rust-winapi-0.3))))
|
||||
(("rust-winapi" ,rust-winapi-0.3))))
|
||||
(home-page "https://github.com/fitzgen/is_executable")
|
||||
(synopsis "Find executable files at path")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue