aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/entr.scm
blob: cacb5ab7f5ceb8b77d8f0ecdfc31c4db41c83e0c (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
;;; 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 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;;
;;; 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 ncurses)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu))

(define-public entr
  (package
    (name "entr")
    (version "4.2")
    (source (origin
              (method url-fetch)
              (uri (string-append "http://entrproject.org/code/entr-"
                                  version ".tar.gz"))
              (sha256
               (base32
                "0w2xkf77jikcjh15fp9g7661ss30pz3jbnh261vqpaqavwah4c17"))))
    (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" (which "gcc"))
               (setenv "DESTDIR" (string-append out "/"))
               (setenv "PREFIX" "")
               (setenv "MANPREFIX" "man")
               (invoke "./configure"))))
         (add-before 'build 'remove-fhs-file-names
           (lambda _
             (substitute* "entr.c"
               (("/bin/sh") (which "sh"))
               (("/bin/cat") (which "cat"))
               (("/usr/bin/clear") (which "clear")))
             #t)))))
    ;; ncurses provides the `clear' binary
    (inputs `(("ncurses" ,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)))
0'>2021-10-03gnu: range-v3: Fix build....* gnu/packages/patches/range-v3-build-with-gcc10.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/cpp.scm (range-v3)[source]: Use patch. [native-inputs]: Add gcc@9 for a succesful build. Jonathan Brielmaier 2021-09-25gnu: Consolidate duplicate copyright names....* gnu/packages/android.scm: Consolidate copyright lines with the same email address. * gnu/packages/code.scm: Likewise. * gnu/packages/cpp.scm: Likewise. * gnu/packages/databases.scm: Likewise. * gnu/packages/emacs-xyz.scm: Likewise. * gnu/packages/file.scm: Likewise. * gnu/packages/freedesktop.scm: Likewise. * gnu/packages/gl.scm: Likewise. * gnu/packages/gps.scm: Likewise. * gnu/packages/linux.scm: Likewise. * gnu/packages/networking.scm: Likewise. * gnu/packages/python-xyz.scm: Likewise. * gnu/packages/python.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/xdisorg.scm: Likewise. * gnu/services/web.scm: Likewise. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Greg Hogan 2021-09-11gnu: fifo-map: Fix build....* gnu/packages/cpp.scm (fifo-map)[arguments]: Fix 'install' phase. Guillaume Le Vaillant 2021-09-07Merge branch 'master' into core-updates-frozenLudovic Courtès 2021-09-06gnu: c++-gsl: Fix build with GCC 10....* gnu/packages/cpp.scm (c++-gsl)[source]: Add a patch from Debian to fix compilation of a test. * gnu/packages/patches/c++-gsl-move-array-bounds-tests.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Felix Gruber 2021-09-03gnu: Add cpp-httplib....* gnu/packages/cpp.scm (cpp-httplib): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> nixo 2021-08-12gnu: jsonnet: Do not build static libraries....* gnu/packages/cpp.scm (jsonnet)[arguments]: Pass "-DBUILD_STATIC_LIBS=OFF". Ludovic Courtès 2021-08-12gnu: Add jsonnet....* gnu/packages/cpp.scm (jsonnet): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Vivien Kraus 2021-07-02gnu: magic-enum: Update to 0.7.3....* gnu/packages/cpp.scm (magic-enum): Update to 0.7.3. Tobias Geerinckx-Rice 2021-06-13doc, gnu, guix: Fix typos....* doc/guix.texi: Fix various typos and reword a sentence. * gnu/packages/cpp.scm (cpplint)[description]: Fix typo. * gnu/packages/dns.scm (ldns): Fix typo in comment. * gnu/packages/games.scm (yamagi-quake2): Fix typo in comment. * gnu/packages/qt.scm (python-pyqtwebengine): Fix typo in comment. * gnu/packages/rails.scm (ruby-autoprefixer-rails): Fix typo in comment. * gnu/packages/syndication.scm (quiterss)[description]: Fix typo. * gnu/packages/terminals.scm (kmscon): Fix typo in comment. * gnu/packages/xml.scm (perl-xml-sax-base)[description]: Fix typo. (python-elementpath)[description]: Fix typo. * guix/build/asdf-build-system.scm (output-translation): Fix typo in docstring. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Paul A. Patience 2021-04-28gnu: folly: Update to 2021.04.26.00....* gnu/packages/cpp.scm (folly): Update to 2021.04.26.00. Tobias Geerinckx-Rice 2021-04-28gnu: xsimd: Update to 7.5.0....* gnu/packages/cpp.scm (xsimd): Update to 7.5.0. Tobias Geerinckx-Rice 2021-04-09gnu: xsimd: Update to 7.4.10....* gnu/packages/cpp.scm (xsimd): Update to 7.4.10. Tobias Geerinckx-Rice 2021-03-27gnu: Add xsd....* gnu/packages/cpp.scm (xsd): New variable. Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Raghav Gururajan 2021-03-27gnu: Add cli....* gnu/packages/cpp.scm (cli): New variable. Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Raghav Gururajan 2021-03-27gnu: Add libxsd-frontend....* gnu/packages/cpp.scm (libxsd-frontend): New variable. Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Raghav Gururajan 2021-03-27gnu: Add libcutl....* gnu/packages/cpp.scm (libcutl): New variable. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Raghav Gururajan 2021-03-27gnu: ccls: Update to 0.20201219....* gnu/packages/cpp.scm (ccls): Update to 0.20201219. Tobias Geerinckx-Rice 2021-03-19gnu: abseil-cpp: Patch sterror_test....* gnu/packages/patches/abseil-cpp-fix-gtest.patch: Renamed file. * gnu/packages/patches/abseil-cpp-fix-strerror_test.patch: New file. * gnu/local.mk (dist_patch_DATA): Rename / add files. * gnu/packages/cpp.scm (abseil-cpp)[source]: Use files. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan 2021-03-19gnu: abseil-cpp: Update to 20200923.3....* gnu/packages/cpp.scm (abseil-cpp): Update to 20200923.3. [arguments]: Enable external googletest. * gnu/packages/patches/abseil-cpp-fix.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan 2021-03-12gnu: aws-sdk-cpp: Update to 1.8.159....* gnu/packages/cpp.scm (aws-sdk-cpp): Update to 1.8.159. [arguments]: Build as shared library Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan 2021-03-10gnu: range-v3: Fix typo in description....* gnu/packages/cpp.scm (range-v3)[description]: Fix typo. Tobias Geerinckx-Rice 2021-03-02gnu: Add pcg-cpp....* gnu/packages/cpp.scm (pcg-cpp): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan 2021-02-25gnu: Add caf....* gnu/packages/cpp.scm (caf): New variable. Signed-off-by: Leo Famulari <leo@famulari.name> Greg Hogan 2021-02-23gnu: cli11: Remove (guix utils) dependency....* gnu/packages/cpp.scm (cli11)[arguments]: Do not import (guix utils) that is not meant to go on the build side. Mathieu Othacehe 2021-02-21gnu: Add cli11....* gnu/packages/cpp.scm (cli11): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Milkey Mouse 2021-02-18gnu: gperftools: Update to 2.8.1....* gnu/packages/cpp.scm (gperftools): Update to 2.8.1. [arguments]: Set '#:parallel-tests? #f'. Co-authored-by: Leo Famulari <leo@famulari.name> Greg Hogan 2021-01-31gnu: Add range-v3....* gnu/packages/cpp.scm (range-v3): New variable. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at> Raghav Gururajan 2021-01-31gnu: Add c++-gsl....* gnu/packages/cpp.scm (c++-gsl): New variable. * gnu/packages/patches/c++-gsl-find-system-gtest.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at> Raghav Gururajan 2021-01-26gnu: folly: Update to 2021.01.25.00....* gnu/packages/cpp.scm (folly): Update to 2021.01.25.00. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan 2021-01-21gnu: magic-enum: Declare a source file-name....* gnu/packages/cpp.scm (magic-enum)[source]: Add file-name field. Efraim Flashner 2021-01-20gnu: Add magic-enum....* gnu/packages/cpp.scm (magic-enum): New variable. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at> Anadon 2021-01-07gnu: json-modern-cxx: Install json_fwd.hpp header....* gnu/packages/cpp.scm (json-modern-cxx)[arguments]: Set JSON_MultipleHeaders=ON to install optional header. Pierre Neidhardt 2020-12-23gnu: xtl: Update to 0.6.23....* gnu/packages/cpp.scm (xtl): Update to 0.6.23. Tobias Geerinckx-Rice 2020-12-17gnu: Add aws-sdk-cpp....* gnu/packages/cpp.scm (aws-sdk-cpp): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan 2020-12-05gnu: Add libexpected....* gnu/packages/cpp.scm (libexpected): New variable. * gnu/packages/patches/libexpected-nofetch.patch: Add patch. * gnu/local.mk: Reference patch. Brett Gilio