From e5758aeb0e2716193a4b8b8233e54dafcfd1d8c8 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Mon, 27 Jul 2020 15:02:33 +0200 Subject: [PATCH] gnu: Move guile-zlib and guile-lzlib packages. * gnu/packages/guile-xyz.scm (guile-zlib, guile-lzlib): Move to ... * gnu/packages/guile.scm: ... here. --- gnu/packages/guile-xyz.scm | 66 ------------------------------------- gnu/packages/guile.scm | 67 +++++++++++++++++++++++++++++++++++++- 2 files changed, 66 insertions(+), 67 deletions(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index b5b6254981..5f7a93b8c6 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -3701,69 +3701,3 @@ (define-public guile-jsonld 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+))) - -(define-public guile-lzlib - (package - (name "guile-lzlib") - (version "0.0.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://notabug.org/guile-lzlib/guile-lzlib.git") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0ny4pbig5x1lv83b63c2613gwv98myk3rm44l88ic7lrff6cd2hr")) - (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) - ("lzlib" ,lzlib))) - (synopsis "Guile bindings to lzlib") - (description - "This package provides Guile bindings for lzlib, a C library for -in-memory LZMA compression and decompression. The bindings are written in -pure Scheme by using Guile's foreign function interface.") - (home-page "https://notabug.org/guile-lzlib/guile-lzlib") - (license license:gpl3+))) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 6430633694..b2670eca7d 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -777,5 +777,70 @@ (define-public guile2.0-git (define-deprecated-guile3.0-package guile3.0-git) -;;; guile.scm ends here +(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+))) +(define-public guile-lzlib + (package + (name "guile-lzlib") + (version "0.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://notabug.org/guile-lzlib/guile-lzlib.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ny4pbig5x1lv83b63c2613gwv98myk3rm44l88ic7lrff6cd2hr")) + (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) + ("lzlib" ,lzlib))) + (synopsis "Guile bindings to lzlib") + (description + "This package provides Guile bindings for lzlib, a C library for +in-memory LZMA compression and decompression. The bindings are written in +pure Scheme by using Guile's foreign function interface.") + (home-page "https://notabug.org/guile-lzlib/guile-lzlib") + (license license:gpl3+))) + +;;; guile.scm ends here