summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-07-09 16:03:29 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-07-09 17:00:30 +0300
commit0b5010336f9add621a8b0c825ecb70b01aeccdb4 (patch)
tree4730b73a9ad0915318e24c00ac175b3b66c74c51 /gnu/packages
parent1d8a26efb4d98124c011b92e85fa963dea988a37 (diff)
downloadguix-0b5010336f9add621a8b0c825ecb70b01aeccdb4.tar.gz
gnu: rust-remove-dir-all-0.5: Update to 0.5.3.
* gnu/packages/crates-io.scm (rust-remove-dir-all-0.5): Update to 0.5.3.
[source]: Add snippet to replace doctest with test.
[arguments]: Don't skip build.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm16
1 files changed, 11 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c1a7d70af3..d386d37999 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19736,19 +19736,25 @@ uses finite automata and guarantees linear time matching on all inputs.")
 (define-public rust-remove-dir-all-0.5
   (package
     (name "rust-remove-dir-all")
-    (version "0.5.2")
+    (version "0.5.3")
     (source
       (origin
         (method url-fetch)
         (uri (crate-uri "remove_dir_all" version))
-        (file-name (string-append name "-" version ".crate"))
+        (file-name (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "0bkrlyg26mgizpiy1yb2hhpgscxcag8r5fnckqsvk25608vzm0sa"))))
+          "1rzqbsgkmr053bxxl04vmvsd1njyz0nxvly97aip6aa2cmb15k9s"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           ;; 'doctest' isn't stable until rust-1.40
+           (substitute* "src/lib.rs"
+             (("\\(doctest") "(test"))
+           #t))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-winapi" ,rust-winapi-0.3))
        #:cargo-development-inputs
        (("rust-doc-comment" ,rust-doc-comment-0.3))))