mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-17 04:20:44 +02:00
gnu: rust-serde-test-0.9: Use snippet.
* gnu/packages/crates-io.scm (rust-serde-test-0.9): Add snippet. [phases]: Remove fix-cargo-toml phase. Change-Id: I27e5999daa849c2e9300ab5d7174c093a23f28ea Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
f24bde1899
commit
2a7ac78554
1 changed files with 6 additions and 12 deletions
|
@ -75027,20 +75027,14 @@ by dynamically growing the stack.")
|
|||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "serde_test" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"193mf0qkhvjywd06x6hhmkixlqcyfbpfwfmr75dp2b8xwzpsvxwf"))))
|
||||
(base32 "193mf0qkhvjywd06x6hhmkixlqcyfbpfwfmr75dp2b8xwzpsvxwf"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet #~(substitute* "Cargo.toml"
|
||||
((", path =.*}") "}")))))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-cargo-toml
|
||||
(lambda _
|
||||
(substitute* "Cargo.toml"
|
||||
((", path =.*}") "}"))
|
||||
#t)))
|
||||
#:cargo-inputs (("rust-serde" ,rust-serde-0.9))))))
|
||||
`(#:cargo-inputs (("rust-serde" ,rust-serde-0.9))))))
|
||||
|
||||
(define-public rust-serde-test-0.8
|
||||
(package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue