summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-02-05 20:35:31 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-02-06 10:48:15 +0200
commitdbc0c7950f4d0a09a2a3684b2793dd2d033b3825 (patch)
tree1ad04fe5526df06318ab2f0d7c6c8209641fefa9
parent329d5aad0ea564245d6f6896156cdc3ca1fe2569 (diff)
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.
-rw-r--r--gnu/packages/crates-io.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d57aa1fd56..844fc4dc61 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5767,10 +5767,13 @@ values of all the exported APIs match the platform that libc is compiled for.")
(origin
(method url-fetch)
(uri (crate-uri "libgit2-sys" version))
- (file-name (string-append name "-" version ".crate"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0y2mibmx7wy91s2kmb2gfb29mrqlqaxpy5wcwr8s1lwws7b9w5sc"))))
+ "0y2mibmx7wy91s2kmb2gfb29mrqlqaxpy5wcwr8s1lwws7b9w5sc"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (delete-file-recursively "libgit2") #t))))
(properties '((hidden? . #t)))))
(define-public rust-libgit2-sys-0.7