From 32568f5b2438f859f54ec22372d08edc0962a329 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 27 Dec 2020 15:27:36 +0100 Subject: gnu: Add Guile-zstd. * gnu/packages/guile.scm (guile-zstd): New variable. --- gnu/packages/guile.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 11694e06f9..9413258384 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -848,4 +848,32 @@ pure Scheme by using Guile's foreign function interface.") (home-page "https://notabug.org/guile-lzlib/guile-lzlib") (license license:gpl3+))) +(define-public guile-zstd + (package + (name "guile-zstd") + (version "0.1.1") + (home-page "https://notabug.org/guile-zstd/guile-zstd") + (source (origin + (method git-fetch) + (uri (git-reference (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1c8l7829b5yx8wdc0mrhzjfwb6h9hb7cd8dfxcr71a7vlsi86310")))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config) + ("guile" ,guile-3.0))) + (inputs + `(("zstd" ,zstd "lib") + ("guile" ,guile-3.0))) + (synopsis "GNU Guile bindings to the zstd compression library") + (description + "This package provides a GNU Guile interface to the zstd (``zstandard'') +compression library.") + (license license:gpl3+))) + ;;; guile.scm ends here -- cgit v1.2.3