summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-02-25 16:18:22 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-02-25 16:48:58 +0200
commitba8984cf3d5cc3c4017762574c347274a2d6616a (patch)
treec8d37b4653cf49bb62c236b16a4decdbfa41d79d
parentd3237cd302ea9fb563336515e4cc2c4fe056437e (diff)
downloadguix-ba8984cf3d5cc3c4017762574c347274a2d6616a.tar.gz
gnu: rust-conv-0.3: Don't skip build.
* gnu/packages/crates-io.scm (rust-conv-0.3)[source]: Add snippet to
relax version requirements.
[arguments]: Don't skip build.
-rw-r--r--gnu/packages/crates-io.scm10
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 37b05db568..3a384c5b8d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2451,11 +2451,15 @@ It is inspired by the Linux kernel's @code{crypto_memneq}.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "168j1npqrif1yqxbgbk0pdrx9shzhs5ylc5a4xw49b6hbxi11zvq"))))
+         "168j1npqrif1yqxbgbk0pdrx9shzhs5ylc5a4xw49b6hbxi11zvq"))
+        (modules '((guix build utils)))
+        (snippet
+         '(begin (substitute* "Cargo.toml"
+                   (("0.2.21.*") "0.2.21\"\n"))
+                 #t))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t     ; Package needs 'unicode' crate.
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-custom-derive" ,rust-custom-derive-0.1))
        #:cargo-development-inputs
        (("rust-quickcheck" ,rust-quickcheck-0.2)