gnu: Add rust-is-executable-1.
* gnu/packages/crates-io.scm (rust-is-executable-1): New variable. (rust-is-executable): Remove variable.master
parent
daaa3ba07f
commit
2c78572bd9
|
@ -22588,33 +22588,23 @@ bottlenecks encountered in highly concurrent code by avoiding shared writes
|
||||||
and locking in the core framework.")
|
and locking in the core framework.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-is-executable
|
(define-public rust-is-executable-1
|
||||||
(package
|
(package
|
||||||
(name "rust-is-executable")
|
(name "rust-is-executable")
|
||||||
(version "0.1.2")
|
(version "1.0.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "is_executable" version))
|
(uri (crate-uri "is_executable" version))
|
||||||
(file-name
|
(file-name
|
||||||
(string-append name "-" version ".tar.gz"))
|
(string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1j59iqaxcgax0qll30rarpcr7y3dpkl38iv4mlkfcxbvsv3cv6ps"))))
|
||||||
"0xy516afjh79a0d53j9v4w5mgi2s0r6f6qynnyz8g0dwi8xmab9h"))))
|
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(;; One test tries to invoke 'cargo readme' which does not exist and aborts.
|
`(#:skip-build? #t
|
||||||
#: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)))
|
|
||||||
#:cargo-inputs
|
#: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")
|
(home-page "https://github.com/fitzgen/is_executable")
|
||||||
(synopsis "Find executable files at path")
|
(synopsis "Find executable files at path")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue