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.

70 lines
2.4 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
  3. ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
  4. ;;; Copyright © 2014 Andreas Enge <andreas@enge.fr>
  5. ;;;
  6. ;;; This file is part of GNU Guix.
  7. ;;;
  8. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  9. ;;; under the terms of the GNU General Public License as published by
  10. ;;; the Free Software Foundation; either version 3 of the License, or (at
  11. ;;; your option) any later version.
  12. ;;;
  13. ;;; GNU Guix is distributed in the hope that it will be useful, but
  14. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  15. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. ;;; GNU General Public License for more details.
  17. ;;;
  18. ;;; You should have received a copy of the GNU General Public License
  19. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  20. (define-module (gnu packages acl)
  21. #:use-module (guix licenses)
  22. #:use-module (gnu packages attr)
  23. #:use-module (gnu packages base)
  24. #:use-module (gnu packages gettext)
  25. #:use-module (gnu packages perl)
  26. #:use-module (guix packages)
  27. #:use-module (guix download)
  28. #:use-module (guix build-system gnu))
  29. (define-public acl
  30. (package
  31. (name "acl")
  32. (version "2.2.52")
  33. (source
  34. (origin
  35. (method url-fetch)
  36. (uri (string-append "mirror://savannah/acl/acl-"
  37. version ".src.tar.gz"))
  38. (sha256
  39. (base32
  40. "08qd9s3wfhv0ajswsylnfwr5h0d7j9d4rgip855nrh400nxp940p"))))
  41. (build-system gnu-build-system)
  42. (arguments
  43. `(#:tests? #f ; FIXME: Investigate test suite failures
  44. #:test-target "tests"
  45. #:phases
  46. (alist-cons-after
  47. 'build 'patch-exec-bin-sh
  48. (lambda _
  49. (substitute* "test/run"
  50. (("/bin/sh") (which "sh"))))
  51. (alist-replace
  52. 'install
  53. (lambda _
  54. (zero? (system* "make" "install" "install-lib" "install-dev")))
  55. %standard-phases))))
  56. (inputs `(("attr" ,attr)))
  57. (native-inputs
  58. `(("gettext" ,gnu-gettext)
  59. ("perl" ,perl)
  60. ("sed" ,sed)))
  61. (home-page
  62. "http://savannah.nongnu.org/projects/acl")
  63. (synopsis
  64. "Library and tools for manipulating access control lists")
  65. (description
  66. "Library and tools for manipulating access control lists.")
  67. (license (list gpl2+ lgpl2.1+))))