;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 Matthew Jordan ;;; Copyright © 2016 Ludovic Courtès ;;; Copyright © 2019 Ricardo Wurmus ;;; ;;; 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 . (define-module (gnu packages entr) #: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.1") (source (origin (method url-fetch) (uri (string-append "http://entrproject.org/code/entr-" version ".tar.gz")) (sha256 (base32 "0y7gvyf0iykpf3gfw09m21hy51m6qn4cpkbrm4nnn7pwrwycj0y5")))) (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 _ ;; Use the tools available in $PATH. (substitute* "entr.c" (("/bin/cat") "cat") (("/usr/bin/clear") "clear")) #t))))) (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))) m?id=8394619baceb118df92e355377fd543bb1aa501a'>gnu: Simplify package inputs....Ludovic Courtès 2021-11-14gnu: gd: Fix long patch filename....Vagrant Cascadian 2021-03-28gnu: gd: Patch away recent pkg-config files change that breaks php build....Léo Le Bouter 2021-03-15gnu: gd: Update to 2.3.2....Efraim Flashner 2020-11-30gnu: perl-gd: Update to 2.73....Tobias Geerinckx-Rice 2020-07-19gnu: perl-gd: Update to 2.72 [fixes CVE-2019-6977]....Tobias Geerinckx-Rice