mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 14:47:20 +01:00
gnu: rust-openssl-0.7: Use snippet.
* gnu/packages/crates-io.scm (rust-openssl-0.7): 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
8904697681
commit
fda24a4ca6
1 changed files with 6 additions and 12 deletions
|
@ -53013,11 +53013,12 @@ (define-public rust-openssl-0.7
|
|||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "openssl" version))
|
||||
(file-name
|
||||
(string-append name "-" version ".tar.gz"))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0cw767rbasg4dbsfcsnxqm3q5ljkv6s1jq0a2p82xi5a8ii7n4f4"))))
|
||||
(base32 "0cw767rbasg4dbsfcsnxqm3q5ljkv6s1jq0a2p82xi5a8ii7n4f4"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet #~(substitute* "Cargo.toml"
|
||||
((", path =.*}") "}")))))
|
||||
(arguments
|
||||
`(#:skip-build? #t ; Build depends on openssl-1.0.
|
||||
#:cargo-inputs
|
||||
|
@ -53031,14 +53032,7 @@ (define-public rust-openssl-0.7
|
|||
(("rust-net2" ,rust-net2-0.2)
|
||||
("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
|
||||
("rust-winapi" ,rust-winapi-0.2)
|
||||
("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-cargo-toml
|
||||
(lambda _
|
||||
(substitute* "Cargo.toml"
|
||||
((", path =.*}") "}"))
|
||||
#t)))))))
|
||||
("rust-ws2-32-sys" ,rust-ws2-32-sys-0.2))))))
|
||||
|
||||
(define-public rust-openssl-macros-0.1
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue