gnu: libgit2-sys-0.8: Unbundle vendored code.

* gnu/packages/crates-io.scm (rust-libgit2-sys-0.8)[source]: Add snippet
to remove bundled code.
This commit is contained in:
Efraim Flashner 2020-02-05 20:35:31 +02:00
parent 329d5aad0e
commit dbc0c7950f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -5767,10 +5767,13 @@ (define-public rust-libgit2-sys-0.8
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "libgit2-sys" version)) (uri (crate-uri "libgit2-sys" version))
(file-name (string-append name "-" version ".crate")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0y2mibmx7wy91s2kmb2gfb29mrqlqaxpy5wcwr8s1lwws7b9w5sc")))) "0y2mibmx7wy91s2kmb2gfb29mrqlqaxpy5wcwr8s1lwws7b9w5sc"))
(modules '((guix build utils)))
(snippet
'(begin (delete-file-recursively "libgit2") #t))))
(properties '((hidden? . #t))))) (properties '((hidden? . #t)))))
(define-public rust-libgit2-sys-0.7 (define-public rust-libgit2-sys-0.7