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:
Nicolas Goaziou 2021-06-23 09:42:12 +02:00
parent daaa3ba07f
commit 2c78572bd9
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -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