aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/entr.scm
blob: 29fd5b7db605901cb98a7d976e2df38019879a4b (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
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2021 Solene Rapenne <solene@perso.pw>
;;;
;;; 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 entr)
  #:use-module (gnu packages base)
  #:use-module (gnu packages bash)
  #:use-module (gnu packages ncurses)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (guix utils))

(define-public entr
  (package
    (name "entr")
    (version "4.9")
    (source (origin
              (method url-fetch)
              (uri (string-append "http://entrproject.org/code/entr-"
                                  version ".tar.gz"))
              (sha256
               (base32
                "18h58k69f0qmqkknbcnhm5dz7mv5gr2blcq88qr62vz4zg9a8mp2"))))
    (build-system gnu-build-system)
    (arguments
     `(#:test-target "test"
       #:phases
       (modify-phases %standard-phases
         (replace 'configure
           (lambda* (#:key outputs #:allow-other-keys)
             (let ((out (assoc-ref outputs "out")))
               (setenv "CONFIG_SHELL" (which "bash"))
               (setenv "CC" ,(cc-for-target))
               (setenv "PREFIX" out)
               (setenv "MANPREFIX" (string-append out "/man"))
               (invoke "./configure"))))
         (add-before 'build 'remove-fhs-file-names
           (lambda* (#:key inputs #:allow-other-keys)
             (substitute* "entr.c"
               (("/bin/sh" command)
                (search-input-file inputs command))
               (("/bin/cat" command)
                (search-input-file inputs command))
               (("/usr(/bin/clear)" _ command)
                (search-input-file inputs command)))
             #t)))))
    (inputs
     (list bash coreutils ncurses))
    (home-page "http://entrproject.org/")
    (synopsis "Run arbitrary commands when files change")
    (description
     "entr is a zero-configuration tool with no external build or run-time
dependencies.  The interface to entr is not only minimal, it aims to be simple
enough to create a new category of ad hoc automation.  These micro-tests
reduce keystrokes, but more importantly they emphasize the utility of
automated checks.")

    ;; Per 'LICENSE', portability code under missing/ is under BSD-2.
    (license isc)))
='msg-tooltip'>This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès 2021-12-10gnu: dosfstools: Fix cross-compilation....Reported by Florian Hoertlehner. * gnu/packages/disk.scm (dosfstools)[arguments]: Correctly refer to the build output. Use cc-for-target. Efraim Flashner 2021-11-11gnu: libblockdev: Update to 2.26....* gnu/packages/disk.scm (libblockdev): Update to 2.26. [source]: Remove patches field. [inputs]: Add xfsprogs. * gnu/packages/patches/libblockdev-glib-compat.patch: Delete file. * gnu/local.mk (dist_patch_DATA): De-register it. Maxim Cournoyer 2021-11-08Merge remote-tracking branch 'origin/master' into core-updates-frozenEfraim Flashner 2021-11-03gnu: libblockdev: Update to 2.26....* gnu/packages/disk.scm (libblockdev): Update to 2.26. [source]: Remove patch. * gnu/packages/patches/libblockdev-glib-compat.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. Tobias Geerinckx-Rice 2021-10-18Merge remote-tracking branch 'signed/master' into core-updatesMathieu Othacehe 2021-10-14gnu: lf: Update to 25...* gnu/packages/disk.scm (lf): Update to 25 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Chadwain Holness 2021-10-02gnu: Update gtkmm to 4.2.0, add gtkmm@3, and adjust gtkmm@2....* gnu/packages/gtk.scm (gtkmm)[version]: Update to 4.2.0. [arguments](meson): New argument. [native-inputs]: Add glib:bin. [propagated-inputs]: Replace gtk+ with gtk. (gtkmm-3): New variable. (gtkmm-2)[arguments]: Strip certain inherited arguments. * gnu/packages/animation.scm (synfigstudio)[inputs]: Switch to gtkmm-3. * gnu/packages/astronomy.scm (stackistry)[inputs]: Ditto. * gnu/packages/audio.scm (guitarix)[inputs]: Ditto. * gnu/packages/disk.scm (parted)[inputs]: Ditto. * gnu/packages/gnome.scm (gnome-system-monitor)[inputs]: Ditto. (workrave)[inputs]: Ditto. (gnote)[inputs]: Ditto. * gnu/packages/gobby.scm (gobby)[inputs]: Ditto. * gnu/packages/inkscape.scm (inkscape)[inputs]: Ditto. * gnu/packages/mail.scm (astroid)[inputs]: Ditto. * gnu/packages/mate.scm (mate-system-monitor)[inputs]: Ditto. * gnu/packages/music.scm (tascam-gtk)[inputs]: Ditto. * gnu/packages/photo.scm (rawtherapee)[inputs]: Ditto. * gnu/packages/pulseaudio.scm (pavucontrol)[inputs]: Ditto. (paprefs)[inputs]: Ditto. * gnu/packages/text-editors.scm (jucipp)[inputs]: Ditto. * gnu/packages/wm.scm (waybar)[inputs]: Ditto. Raghav Gururajan 2021-09-04gnu: gparted: Update to 1.3.1....* gnu/packages/disk.scm (gparted): Update to 1.3.1. Tobias Geerinckx-Rice 2021-07-27gnu: duperemove: Update to 0.11.3....* gnu/packages/disk.scm (duperemove): Update to 0.11.3. Leo Famulari 2021-07-29gnu: web: Move libyaml and libcyaml to (gnu packages serialization)....Files to be adjusted were searched with the following command: $ git ls-files | xargs grep -l -E ',libc?yaml' | \ xargs grep -L '(gnu packages serialization)' * gnu/packages/web.scm (libyaml, libyaml+static, libcyaml): Move to... * gnu/packages/serialization.scm: ... here. Maxim Cournoyer 2021-06-19gnu: Add duc....* gnu/packages/disk.scm (duc): New variable. Brice Waegeneire 2021-06-10gnu: gptfdisk: Update to 1.0.8....* gnu/packages/disk.scm (gptfdisk): Update to 1.0.8. Tobias Geerinckx-Rice 2021-06-05gnu: gparted: Update to 1.3.0....* gnu/packages/disk.scm (gparted): Update to 1.3.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Brendan Tildesley 2021-05-23gnu: hddtemp: Update to 0.4.3....* gnu/packages/disk.scm (hddtemp): Update to 0.4.3. [source, home-page]: Use a maintained fork/continuation. [arguments]: Add a new 'delete-autogen.sh phase. Adjust the 'install-db phase to install the bundled hddtemp.db. [inputs]: Remove old hddtemp.db. [native-inputs]: Add autoconf, automake, and gettext. f hddtemp Tobias Geerinckx-Rice 2021-05-22gnu: libblockdev: Prepare for GLib 2.58....* gnu/packages/patches/libblockdev-glib-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/disk.scm (libblockdev)[source](patches): New field. Marius Bakke 2021-05-13gnu: xfe: Update to 1.44 and adjust potfiles....* gnu/packages/disk.scm (xfe)[version]: Update to 1.44. [phases](patch-potfiles): New phase. Raghav Gururajan 2021-05-13gnu: Add bmaptools....* gnu/packages/disk.scm (bmaptools): New variable. Mathieu Othacehe 2021-04-28gnu: Add mmc-utils....* gnu/packages/disk.scm (mmc-utils): New variable. Leo Famulari 2021-04-23gnu: sdparm: Update to 1.12....* gnu/packages/disk.scm (sdparm): Update to 1.12. Tobias Geerinckx-Rice 2021-04-10gnu: gpart: Fix typo in description....* gnu/packages/disk.scm (gpart)[description]: Fix my own typo. Tobias Geerinckx-Rice