From 7f625bda7451a5c59f9a2d072ed6db8217fb0f5c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 4 Dec 2021 13:20:08 +0100 Subject: [PATCH] gnu: Add rust-snappy-cpp-0.1. * gnu/packages/crates-io.scm (rust-snappy-cpp-0.1): New variable. --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d53b1fb5ce..6b3fcc2523 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -50306,6 +50306,30 @@ non-empty snake_case.") algorithm. Includes streaming compression and decompression.") (license license:bsd-3))) +(define-public rust-snappy-cpp-0.1 + (package + (name "rust-snappy-cpp") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "snappy-cpp" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sxga9z8sg4gp6ghyz1p8r3c6flzjw57dlqdxavhvcjr1iwcfki3")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)))) + (home-page "https://github.com/BurntSushi/snap") + (synopsis "Simple Snappy C++ bindings for testing and benchmarking") + (description + "This package provides simple Snappy C++ bindings for testing and +benchmarking.") + (license license:bsd-3))) + (define-public rust-socket2-0.4 (package (name "rust-socket2")