From f37bd04b4f562c38c6ca37b7933c83a6e39f2d4b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 4 Dec 2021 13:20:54 +0100 Subject: [PATCH] gnu: Add rust-snap-0.2. * gnu/packages/crates-io.scm (rust-snap-0.2): New variable. --- gnu/packages/crates-io.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6b3fcc2523..db46f858ff 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -50306,6 +50306,25 @@ (define-public rust-snap-1 algorithm. Includes streaming compression and decompression.") (license license:bsd-3))) +(define-public rust-snap-0.2 + (package + (inherit rust-snap-1) + (name "rust-snap") + (version "0.2.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "snap" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hvzvvywzw654y2r3j4jya5af8j0nf2vydfjp1w8pba47pb9gmlm")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-snappy-cpp" ,rust-snappy-cpp-0.1)))))) + (define-public rust-snappy-cpp-0.1 (package (name "rust-snappy-cpp")