gnu: Add guile-zlib.

* gnu/packages/guile-xyz.scm (guile-zlib): New variable.
This commit is contained in:
Mathieu Othacehe 2020-07-25 14:11:51 +02:00
parent 8e969204d5
commit 20df47e5a3
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 33 additions and 0 deletions

View File

@ -3693,3 +3693,36 @@ between data, in a way that is very similar to WikiData or RDF for instance.
An object can have relations (in the form of an IRI) that relates it to one or
more objects or strings, represented by a Json object or an IRI.")
(license license:gpl3+)))
(define-public guile-zlib
(package
(name "guile-zlib")
(version "0.0.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://notabug.org/guile-zlib/guile-zlib.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"139ixlg0663azwpcj24sw27kmzxr5am0j6hn62ffjchi9w1qb3k0"))
(modules '((guix build utils)))))
(build-system gnu-build-system)
(arguments
'(#:make-flags
'("GUILE_AUTO_COMPILE=0"))) ;to prevent guild warnings
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("pkg-config" ,pkg-config)))
(inputs
`(("guile" ,guile-3.0)
("zlib" ,zlib)))
(synopsis "Guile bindings to zlib")
(description
"This package provides Guile bindings for zlib, a lossless
data-compression library. The bindings are written in pure Scheme by using
Guile's foreign function interface.")
(home-page "https://notabug.org/guile-zlib/guile-zlib")
(license license:gpl3+)))