From 2c78572bd99e29a7ae3a5d9243e159b0f1976009 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 23 Jun 2021 09:42:12 +0200 Subject: [PATCH] gnu: Add rust-is-executable-1. * gnu/packages/crates-io.scm (rust-is-executable-1): New variable. (rust-is-executable): Remove variable. --- gnu/packages/crates-io.scm | 32 +++++++++++--------------------- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a8a6163617..a2514ed1c2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -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