mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-29 07:42:23 -05:00
c5ce759ef8
* gnu/packages/perl-compression.scm (perl-archive-zip): Update to 1.67.
151 lines
5.8 KiB
Scheme
151 lines
5.8 KiB
Scheme
;;; GNU Guix --- Functional package management for GNU
|
|
;;; Copyright © 2014 John Darrington <jmd@gnu.org>
|
|
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
|
|
;;; Copyright © 2016, 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
|
;;; Copyright © 2017 Petter <petter@mykolab.ch>
|
|
;;; Copyright © 2017, 2019 Efraim Flashner <efraim@flashner.co.il>
|
|
;;;
|
|
;;; This file is part of GNU Guix.
|
|
;;;
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
;;; under the terms of the GNU General Public License as published by
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
;;; your option) any later version.
|
|
;;;
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
;;; GNU General Public License for more details.
|
|
;;;
|
|
;;; You should have received a copy of the GNU General Public License
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
(define-module (gnu packages perl-compression)
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
#:use-module (guix utils)
|
|
#:use-module (guix packages)
|
|
#:use-module (guix download)
|
|
#:use-module (guix build-system perl)
|
|
#:use-module (gnu packages)
|
|
#:use-module (gnu packages compression)
|
|
#:use-module (gnu packages perl)
|
|
#:use-module (gnu packages perl-check))
|
|
|
|
(define-public perl-compress-raw-bzip2
|
|
(package
|
|
(name "perl-compress-raw-bzip2")
|
|
(version "2.090")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (string-append "mirror://cpan/authors/id/P/PM/PMQS/"
|
|
"Compress-Raw-Bzip2-" version ".tar.gz"))
|
|
(sha256
|
|
(base32 "0yi972il6i0ya65qar0767mm3sb2wbsrllsgx6296s5myh2838p6"))))
|
|
(build-system perl-build-system)
|
|
;; TODO: Use our bzip2 package.
|
|
(home-page "https://metacpan.org/release/Compress-Raw-Bzip2")
|
|
(synopsis "Low-level interface to bzip2 compression library")
|
|
(description "This module provides a Perl interface to the bzip2
|
|
compression library.")
|
|
(license license:perl-license)))
|
|
|
|
(define-public perl-compress-raw-zlib
|
|
(package
|
|
(name "perl-compress-raw-zlib")
|
|
(version "2.090")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (string-append "mirror://cpan/authors/id/P/PM/PMQS/"
|
|
"Compress-Raw-Zlib-" version ".tar.gz"))
|
|
(sha256
|
|
(base32 "0ndgkv7z4zi3ffail9abp02x62dx1j3pnxn3rjw91py7pjd4kj7j"))))
|
|
(build-system perl-build-system)
|
|
(inputs
|
|
`(("zlib" ,zlib)))
|
|
(arguments
|
|
`(#:phases (modify-phases %standard-phases
|
|
(add-before
|
|
'configure 'configure-zlib
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
(call-with-output-file "config.in"
|
|
(lambda (port)
|
|
(format port "
|
|
BUILD_ZLIB = False
|
|
INCLUDE = ~a/include
|
|
LIB = ~:*~a/lib
|
|
OLD_ZLIB = False
|
|
GZIP_OS_CODE = AUTO_DETECT"
|
|
(assoc-ref inputs "zlib"))))
|
|
#t)))))
|
|
(home-page "https://metacpan.org/release/Compress-Raw-Zlib")
|
|
(synopsis "Low-level interface to zlib compression library")
|
|
(description "This module provides a Perl interface to the zlib
|
|
compression library.")
|
|
(license license:perl-license)))
|
|
|
|
(define-public perl-io-compress
|
|
(package
|
|
(name "perl-io-compress")
|
|
(version "2.090")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (string-append "mirror://cpan/authors/id/P/PM/PMQS/"
|
|
"IO-Compress-" version ".tar.gz"))
|
|
(sha256
|
|
(base32 "11z9jkcpqyd4d1kziiq8q4rmqax93jd3hryx8cnkg4zrhd5fa4jc"))))
|
|
(build-system perl-build-system)
|
|
(propagated-inputs
|
|
;; These two packages should be updated to this one's version first.
|
|
`(("perl-compress-raw-zlib" ,perl-compress-raw-zlib)
|
|
("perl-compress-raw-bzip2" ,perl-compress-raw-bzip2)))
|
|
(home-page "https://metacpan.org/release/IO-Compress")
|
|
(synopsis "IO Interface to compressed files/buffers")
|
|
(description "IO-Compress provides a Perl interface to allow reading and
|
|
writing of compressed data created with the zlib and bzip2 libraries.")
|
|
(license license:perl-license)))
|
|
|
|
(define-public perl-archive-extract
|
|
(package
|
|
(name "perl-archive-extract")
|
|
(version "0.80")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (string-append "mirror://cpan/authors/id/B/BI/BINGOS/Archive-Extract-"
|
|
version ".tar.gz"))
|
|
(sha256
|
|
(base32
|
|
"1x15j1q6w6z8hqyqgap0lz4qbq2174wfhksy1fdd653ccbaw5jr5"))))
|
|
(build-system perl-build-system)
|
|
(home-page "https://metacpan.org/release/Archive-Extract")
|
|
(synopsis "Generic archive extracting mechanism")
|
|
(description "It allows you to extract any archive file of the type .tar,
|
|
.tar.gz, .gz, .Z, tar.bz2, .tbz, .bz2, .zip, .xz,, .txz, .tar.xz or .lzma
|
|
without having to worry how it does so, or use different interfaces for each
|
|
type by using either Perl modules, or command-line tools on your system.")
|
|
(license license:perl-license)))
|
|
|
|
(define-public perl-archive-zip
|
|
(package
|
|
(name "perl-archive-zip")
|
|
(version "1.67")
|
|
(source
|
|
(origin
|
|
(method url-fetch)
|
|
(uri (string-append
|
|
"mirror://cpan/authors/id/P/PH/PHRED/Archive-Zip-"
|
|
version ".tar.gz"))
|
|
(sha256
|
|
(base32 "0x17b7s5c3bqy9gx7psdqxbzkilylnwwd3c3i68vynbn9hs788my"))))
|
|
(build-system perl-build-system)
|
|
(native-inputs
|
|
;; For tests.
|
|
`(("perl-test-mockmodule" ,perl-test-mockmodule)))
|
|
(synopsis "Provides an interface to Zip archive files")
|
|
(description "The @code{Archive::Zip} module allows a Perl program to
|
|
create, manipulate, read, and write Zip archive files.")
|
|
(home-page "https://metacpan.org/release/Archive-Zip")
|
|
(license license:perl-license)))
|