gnu: docbook-xsl update to 1.78.1
[jackhill/guix/guix.git] / gnu / packages / cpio.scm
CommitLineData
233e7676
LC
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
501b1675 3;;;
233e7676 4;;; This file is part of GNU Guix.
501b1675 5;;;
233e7676 6;;; GNU Guix is free software; you can redistribute it and/or modify it
501b1675
NK
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
233e7676 11;;; GNU Guix is distributed in the hope that it will be useful, but
501b1675
NK
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
233e7676 17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
501b1675 18
1ffa7090 19(define-module (gnu packages cpio)
4a44e743 20 #:use-module (guix licenses)
59a43334 21 #:use-module (gnu packages)
501b1675
NK
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix build-system gnu))
25
26(define-public cpio
27 (package
28 (name "cpio")
29 (version "2.11")
01eafd38
LC
30 (source (origin
31 (method url-fetch)
32 (uri (string-append "mirror://gnu/cpio/cpio-"
33 version ".tar.bz2"))
34 (sha256
35 (base32
36 "1gavgpzqwgkpagjxw72xgxz52y1ifgz0ckqh8g7cckz7jvyhp0mv"))
37 (patches (list (search-patch "cpio-gets-undeclared.patch")))))
501b1675 38 (build-system gnu-build-system)
501b1675 39 (home-page "https://www.gnu.org/software/cpio/")
f50d2669 40 (synopsis "Manage cpio and tar file archives")
501b1675 41 (description
79c311b8
LC
42 "GNU cpio copies files into or out of cpio or tar archives. Indeed,
43many formats are supported, including legacy formats. The format is
44determined automatically by the program and is handled appropriately.
45Furthermore, the location of the archive is not important. It can be another
46file on the drive, a tape, or data on a pipe.")
f50d2669 47 (license gpl3+)))