diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2022-05-11 09:41:56 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-05-11 09:49:55 +0300 |
commit | ef1d3d44d0f53917772cdb42f4dc380baec4eb7c (patch) | |
tree | 5e1e59ba983a810afb84abb47b60a553d6bc10bc /gnu/packages/crates-io.scm | |
parent | aaa981f7c57c1a09a32137b9a4e059ab8e91a1c9 (diff) | |
download | guix-ef1d3d44d0f53917772cdb42f4dc380baec4eb7c.tar.gz |
gnu: rust-parking-lot-core-0.8: Move code changes to snippet.
This allows the changes to propagate through the cargo-build-system. * gnu/packages/crates-io.scm (rust-parking-lot-core-0.8)[source]: Add snippet to relax version dependencies. [arguments]: Remove 'relax-dependencies phase.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cf8fc9a2ca..2b67033775 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -40646,7 +40646,14 @@ synchronization primitives.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "08n7w09q6b2prvazbzgwrc9ml7aaf8yg3132ifsayrkwy1nwwzs6")))) + "08n7w09q6b2prvazbzgwrc9ml7aaf8yg3132ifsayrkwy1nwwzs6")) + (modules '((guix build utils))) + (snippet + '(begin + ;; XXX: The file demands 0.3.60; we have 0.3.56, but + ;; that works well, really. + (substitute* "Cargo.toml" + (("0\\.3\\.60") "0.3.56")))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -40658,15 +40665,7 @@ synchronization primitives.") ("rust-redox-syscall" ,rust-redox-syscall-0.2) ("rust-smallvec" ,rust-smallvec-1) ("rust-thread-id" ,rust-thread-id-4) - ("rust-winapi" ,rust-winapi-0.3)) - #:phases (modify-phases %standard-phases - (add-after 'unpack 'relax-dependencies - (lambda _ - ;; XXX: The file demands 0.3.60; we have 0.3.56, but - ;; that works well, really. - (substitute* "Cargo.toml" - (("0\\.3\\.60") - ,(package-version rust-backtrace-0.3)))))))) + ("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/Amanieu/parking_lot") (synopsis "API for creating custom synchronization primitives") (description "This package provides an advanced API for creating custom |