You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

48 lines
1.9 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
  3. ;;;
  4. ;;; This file is part of GNU Guix.
  5. ;;;
  6. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  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. ;;;
  11. ;;; GNU Guix is distributed in the hope that it will be useful, but
  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
  17. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  18. (define-module (gnu packages cpio)
  19. #:use-module (guix licenses)
  20. #:use-module (gnu packages)
  21. #:use-module (guix packages)
  22. #:use-module (guix download)
  23. #:use-module (guix build-system gnu))
  24. (define-public cpio
  25. (package
  26. (name "cpio")
  27. (version "2.11")
  28. (source (origin
  29. (method url-fetch)
  30. (uri (string-append "mirror://gnu/cpio/cpio-"
  31. version ".tar.bz2"))
  32. (sha256
  33. (base32
  34. "1gavgpzqwgkpagjxw72xgxz52y1ifgz0ckqh8g7cckz7jvyhp0mv"))
  35. (patches (list (search-patch "cpio-gets-undeclared.patch")))))
  36. (build-system gnu-build-system)
  37. (home-page "https://www.gnu.org/software/cpio/")
  38. (synopsis "Manage cpio and tar file archives")
  39. (description
  40. "Cpio copies files into or out of cpio or tar archives. In fact, many
  41. formats are supported, including legacy formats. The format is determined
  42. automatically by the program and is handled appropriately. Furthermore, the
  43. location of the archive is not important. It can be another file on the
  44. drive, a tape, or data on a pipe.")
  45. (license gpl3+)))