aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/attr.scm
blob: 8c1a4aca7c539cfcf05d275e88dcfcb67b762862 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2012, 2013, 2016, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
;;;
;;; 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 attr)
  #:use-module (guix licenses)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages gettext)
  #:use-module (gnu packages hurd)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu))

(define-public attr
  (package
    (name "attr")
    (version "2.5.1")
    (source (origin
              (method url-fetch)
              (uri (string-append "mirror://savannah/attr/attr-"
                                  version ".tar.gz"))
              (sha256
               (base32
                "1y6sibbkrcjygv8naadnsg6xmsqwfh6cwrqk01l0v2i5kfacdqds"))))
    (build-system gnu-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         ,@(if (hurd-target?)
               `((add-before 'configure 'skip-linux-syscalls
                   (lambda _
                     ;; Starting from 2.5.1, libattr includes Linux-specific
                     ;; calls to syscall(2).  Comment them out for GNU/Hurd
                     ;; and instead use the glibc-provided wrappers.
                     (substitute* "Makefile.in"
                       (("libattr/syscalls\\.c") "")
                       (("\tlibattr/la-syscalls\\.lo") "")
                       (("-Wl,[[:graph:]]+/libattr\\.lds") "")))))
               '())
         (replace 'check
           (lambda* (#:key target #:allow-other-keys)
             ;; Use the right shell.
             (substitute* "test/run"
               (("/bin/sh")
                (which "sh")))

             ;; When building natively, run the tests.
             ;;
             ;; Note that we use system* and unconditionally return #t here
             ;; to ignore the test result, because the tests will fail when
             ;; the build is performed on a file system without support for
             ;; extended attributes, and we wish to allow Guix to be built
             ;; on such systems.
             (unless target
               (system* "make" "tests" "-C" "test")))))))
    (inputs
     ;; Perl is needed to run tests; remove it from cross builds.
     (if (%current-target-system)
         '()
         `(("perl" ,perl))))
    (native-inputs
     `(("gettext" ,gettext-minimal)))

    (home-page "https://savannah.nongnu.org/projects/attr/")
    (synopsis "Library and tools for manipulating extended attributes")
    (description
     "Portable library and tools for manipulating extended attributes.")
    (license lgpl2.1+)))
td>2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès 2021-12-10Merge remote-tracking branch 'signed/master' into core-updatesMathieu Othacehe 2021-12-08gnu: python-django: Update to 3.2.10 [fixes CVE-2021-4442]....* gnu/packages/django.scm (python-django): Update to 3.2.10. Marius Bakke 2021-12-08gnu: python-django@2.2: Update to 2.2.25 [fixes CVE-2021-4442]....* gnu/packages/django.scm (python-django-2.2): Update to 2.2.25. Marius Bakke 2021-12-05gnu: Add python-django-svg-image-form-field....* gnu/packages/django.scm (python-django-svg-image-form-field): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Luis Felipe 2021-12-05Merge remote-tracking branch 'origin/master' into core-updates-frozenRicardo Wurmus 2021-12-05gnu: python-django-netfields: Update to 1.2.4....* gnu/packages/django.scm (python-django-netfields): Update to 1.2.4. Marius Bakke 2021-12-05gnu: python-django: Update to 3.2.9....* gnu/packages/django.scm (python-django): Update to 3.2.9. Marius Bakke 2021-12-05gnu: python-django-haystack: Update to 3.1.1....* gnu/packages/django.scm (python-django-haystack): Update to 3.1.1. [arguments]: Adjust substitution. Marius Bakke 2021-12-05gnu: python-django-url-filter: Adjust phase order....* gnu/packages/django.scm (python-django-url-filter)[arguments]: Move substitution to after the unpack phase, so that it does not end up in the egg info. Marius Bakke 2021-12-05gnu: python-django-netfields: Propagate psycopg2....* gnu/packages/django.scm (python-django-netfields)[propagated-inputs]: Add PYTHON-PSYCOPG2. Marius Bakke 2021-12-05gnu: python-django-logging-json: Disable sanity check....* gnu/packages/django.scm (python-django-logging-json)[arguments]: Add #:phases. Marius Bakke 2021-12-05gnu: python-django-appconf: Fix tests....* gnu/packages/django.scm (python-django-appconf): Invoke django-admin with custom pythonpath. Marius Bakke 2021-12-05gnu: python-django-pipeline: Fix tests....* gnu/packages/django.scm (python-django-pipeline): Provide pythonpath to django-admin. Marius Bakke 2021-12-05gnu: python-django-sortedm2m: Fix tests....This is a follow-up to commit 283d5ac97f2f7663b788bd2fc3b9a27a3d82c7d5. * gnu/packages/django.scm (python-django-sortedm2m): Invoke django-admin with pythonpath and test settings. Marius Bakke 2021-12-05gnu: python-django-contact-form: Update to 1.9....* gnu/packages/django.scm (python-django-contact-form): Update to 1.9. Marius Bakke 2021-12-05gnu: python-django-jinja: Update to 2.9.1....* gnu/packages/django.scm (python-django-jinja): Update to 2.9.1. Marius Bakke 2021-12-05gnu: python-django-haystack: Disable sanity check....* gnu/packages/django.scm (python-django-haystack)[arguments]: Delete one phase. While at it, remove trailing #t's. Marius Bakke 2021-12-05gnu: Django packages propagate Django, after all....This reverts commit d7922f488b658b1adb5aff09f04a9bed0221aee1. Mainly to placate the new 'sanity-check' phase, and because --with-input and friends makes it easy to override. * gnu/packages/django.scm (python-django-extensions, python-django-simple-math-captcha, python-django-taggit, python-easy-thumbnails, python-django-haystack, python-django-allauth, python-django-debug-toolbar, python-django-debug-toolbar-alchemy, python-django-assets, python-django-jinja, python-django-picklefield, python-django-bulk-update, python-django-contact-form, python-django-contrib-comments, python-django-pipeline, python-django-redis, python-django-rq, python-django-q, python-django-sortedm2m, python-django-appconf, python-django-statici18n, python-djangorestframework, python-django-sekizai, python-django-crispy-forms, python-django-override-storage, python-django-auth-ldap, python-django-logging-json, python-django-netfields, python-django-url-filter)[propagated-inputs]: Add PYTHON-DJANGO. [native-inputs]: Remove it. Marius Bakke 2021-11-21gnu: python-django-localflavor: Use GUIX_PYTHONPATH....* gnu/packages/django.scm (python-django-localflavor)[arguments]: Use GUIX_PYTHONPATH. Ricardo Wurmus 2021-11-17Merge branch 'master' into core-updates-frozenLudovic Courtès 2021-11-08gnu: packages: Remove last year's deprecations....* gnu/packages/admin.scm (guile3.0-shepherd): Remove variable. * gnu/packages/benchmark.scm (imb-openmpi): Likewise. * gnu/packages/boost.scm (boost-with-python3): Likewise. * gnu/packages/pep.scm (python-pep-adapter)[inputs]: Adjust accordingly. * gnu/packages/cpp.scm (nlohmann-json-cpp): Likewise. * gnu/packages/games.scm (openrct2)[inputs]: Adjust accordingly. * gnu/packages/cups.scm (escpr): Likewise. * gnu/packages/django.scm (python-django-jsonfield): Likewise. * gnu/packages/emacs-xyz.scm (emacs-modus-operandi-theme) (emacs-modus-vivendi-theme): Likewise. * gnu/packages/engineering.scm (kicad-i18l): Likewise. * gnu/packages/enlightenment.scm (enlightenment-wayland): Likewise. * gnu/packages/firmware.scm (opensbi-qemu-virt, opensbi-qemu-sifive-u): Likewise. * gnu/packages/fonts.scm (font-gnu-freefont-ttf, font-open-dyslexic): Likewise. * gnu/packages/game-development.scm (guile3.0-chickadee) (python-sge-pygame): Likewise. * gnu/packages/games.scm (retux)[inputs]: Adjust accordingly. * gnu/packages/gnome-xyz.scm (numix-theme): Likewise. * gnu/packages/gnupg.scm (guile3.0-gcrypt): Likewise. * gnu/packages/gstreamer.scm (gst-transcoder): Likewise. * gnu/packages/gtk.scm (guile3.0-cairo, guile3.0-present, guile3.0-rsvg): Likewise. * gnu/packages/guile-xyz.scm (guile3.0-colorized, guile3.0-commonmark) (guile3.0-config, guile3.0-email, guile3.0-fibers, guile3.0-gi) (guile3.0-hall, guile3.0-hashing, guile3.0-haunt, guile3.0-ics) (guile3.0-irregex, guile3.0-lib, guile3.0-mcron, guile3.0-minikanren) (guile3.0-ncurses, guile3.0-ncurses/gpm, guile3.0-newt, guile3.0-parted) (guile3.0-pfds, guile3.0-picture-language, guile3.0-semver) (guile3.0-simple-zmq, guile3.0-squee, guile3.0-syntax-highlight) (guile3.0-websocket, guile3.0-wisp, guile3.0-xapian): Likewise. * gnu/packages/guile.scm (define-deprecated-guile3.0-package) (guile3.0-json, guile3.0-gdbm-ffi, guile3.0-sqlite3) (guile3.0-bytestructures, guile3.0-git): Likewise. * gnu/packages/haskell-apps.scm (ghc-stylish-haskell): Likewise. * gnu/packages/linux.scm (linux-libre-arm-veyron): Likewise. * gnu/packages/mail.scm (guile3.0-mailutils): Likewise. * gnu/packages/monitoring.scm (python2-graphite-web): Likewise. * gnu/packages/package-management.scm (guile3.0-guix): Likewise. * gnu/packages/package-management.scm (python-conda): Likewise. * gnu/packages/phabricator.scm (libphutil): Likewise. * gnu/packages/plotutils.scm (guile3.0-charting): Likewise. * gnu/packages/python-xyz.scm (python2-smmap2, python-glances) (python-smmap2): Likewise. * gnu/packages/shells.scm (oil-shell): Likewise. * gnu/packages/sqlite.scm (sqlite-with-column-metadata): Likewise. * gnu/packages/ssh.scm (guile3.0-ssh): Likewise. * gnu/packages/terminals.scm (et): Likewise. * gnu/packages/tls.scm (guile3.0-gnutls): Likewise. * gnu/packages/vlang.scm (v): Likewise. * gnu/packages/vpn.scm (wireguard): Likewise. * gnu/packages/web-browsers.scm (next, sbcl-next): Likewise. * gnu/packages/xorg.scm (transset-df): Likewise. Tobias Geerinckx-Rice 2021-10-14Merge branch 'master' into core-updates-frozenMarius Bakke 2021-10-13gnu: Add back missing module import....* gnu/packages/django.scm: Use (gnu packages compression). Tobias Geerinckx-Rice 2021-10-13gnu: Remove duplicate python-google-brotli package....* gnu/packages/python-compression.scm (python-brotli): Delete duplicate variable. * gnu/packages/compression.scm (python-google-brotli): Redefine as a deprecated-package, with… (python-brotli): …as the canonical variable. * gnu/packages/fonts.scm (font-meera-inimai)[native-inputs]: Adjust accordingly. Tobias Geerinckx-Rice 2021-09-17Merge branch 'master' into core-updates-frozen... Conflicts: gnu/packages/bioinformatics.scm gnu/packages/chez.scm gnu/packages/docbook.scm gnu/packages/ebook.scm gnu/packages/gnome.scm gnu/packages/linux.scm gnu/packages/networking.scm gnu/packages/python-web.scm gnu/packages/python-xyz.scm gnu/packages/tex.scm gnu/packages/version-control.scm gnu/packages/xml.scm guix/build-system/dune.scm guix/build-system/go.scm guix/build-system/linux-module.scm guix/packages.scm Marius Bakke 2021-09-11gnu: Add python-django-localflavor....* gnu/packages/django.scm (python-django-localflavor): New variable. Co-authored-by: jgart <jgart@dismail.de> Raghav Gururajan 2021-09-07Merge branch 'master' into core-updates-frozenLudovic Courtès 2021-08-01gnu: python-django: Fix test failure....* gnu/packages/django.scm (python-django)[arguments]: Set PYTHONPATH. Marius Bakke 2021-08-01Merge branch 'master' into core-updates-frozenMarius Bakke 2021-08-01gnu: python-django: Update to 3.2.5 [fixes CVE-2021-35042]....* gnu/packages/django.scm (python-django): Update to 3.2.5. Marius Bakke 2021-08-29gnu: python-pytest-django: Update to 4.4.0....* gnu/packages/django.scm (python-pytest-django): Update to 4.4.0. [tests?]: Disable test suite. [native-inputs]: Replace python-pytest-xdist by python-pytest-xdist-next. [home-page]: Update home page. Maxim Cournoyer 2021-08-29gnu: python-django: Update to 3.2.6....* gnu/packages/django.scm (python-django): Update to 3.2.6. Maxim Cournoyer 2021-07-24gnu: Use 'search-input-directory' when looking for tzdata....* gnu/packages/backup.scm (duplicity)[arguments]: Use 'search-input-directory' for "share/zoneinfo". * gnu/packages/bioinformatics.scm (pigx-rnaseq): Likewise. (pigx-bsseq): Likewise. * gnu/packages/calcurse.scm (calcurse): Likewise. * gnu/packages/calendar.scm (date): Likewise. * gnu/packages/compression.scm (lhasa): Likewise. * gnu/packages/cran.scm (r-rstan): Likewise. * gnu/packages/django.scm (python-django): Likewise. * gnu/packages/dlang.scm (ldc-bootstrap): Likewise. * gnu/packages/finance.scm (ledger): Likewise. * gnu/packages/glib.scm (glib): Likewise. * gnu/packages/golang.scm (go-1.4): Likewise. (go-1.14): Likewise. * gnu/packages/kde-frameworks.scm (kcalendarcore): Likewise. (kdelibs4support): Likewise. * gnu/packages/kodi.scm (kodi): Likewise. * gnu/packages/mail.scm (mu): Likewise. * gnu/packages/perl.scm (perl-libtime-parsedate): Likewise. * gnu/packages/python-xyz.scm (python-robotframework): Likewise. (python-dparse): Likewise. * gnu/packages/rrdtool.scm (rrdtool): Likewise. * gnu/packages/statistics.scm (r-with-tests): Likewise. * gnu/packages/vim.scm (vim): Likewise. * gnu/packages/virtualization.scm (ganeti): Likewise. * gnu/packages/vpn.scm (strongswan): Likewise. * gnu/packages/xfce.scm (xfce4-panel): Likewise. * gnu/packages/mate.scm (libmateweather): Use 'search-input-file' for "share/zoneinfo/zone.tab". Ludovic Courtès