summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-10-24 17:59:26 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-10-24 18:06:24 +0300
commit9defa11c93765e868c036d51fc092f1d9177f271 (patch)
tree25e8e1accc03257a384285df802e20302783c57c /gnu
parentcb15e7dd3450e611ae413be57a085c553679a475 (diff)
downloadguix-9defa11c93765e868c036d51fc092f1d9177f271.tar.gz
Revert "gnu: rust-camino-1: Update to 1.1.1."
This reverts commit 0d9d36d91362ffea1bb1de7f471d8c32e9cfb0a3.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 16 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 420e254fb3..dd250319b0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8959,7 +8959,7 @@ spreadsheet file.")
 (define-public rust-camino-1
   (package
     (name "rust-camino")
-    (version "1.1.1")
+    (version "1.0.4")
     (source
      (origin
        (method url-fetch)
@@ -8968,12 +8968,23 @@ spreadsheet file.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "07jc2jsyyhd2d0clpr0ama61b2hv09qzbfba2mx27pc87qg0xbc8"))))
+         "1a91b5i4n6ikg7p5pgvj3hjac1gnwjmdqsi3k83al2d701nqqr6l"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-proptest" ,rust-proptest-1)
-        ("rust-serde" ,rust-serde-1))))
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-structopt" ,rust-structopt-0.3))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-version-requirements
+           (lambda _
+             (substitute* "Cargo.toml"
+               (("1.0.38") ,(package-version rust-anyhow-1)))
+             #t)))))
     (home-page
      "https://github.com/withoutboats/camino")
     (synopsis "UTF-8 paths")