diff options
author | Javier Olaechea <pirata@gmail.com> | 2024-11-08 18:51:09 -0500 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-11-12 23:51:43 +0100 |
commit | 3806c39c91c5a04c185ec11ac659d4b57cd072c6 (patch) | |
tree | 19675000deeeab09cdb2d2678ebf7c20033c451c /gnu/packages/entr.scm | |
parent | 4abcff77ce88fc0f4712c9689d9f8a2add0472e4 (diff) | |
download | guix-3806c39c91c5a04c185ec11ac659d4b57cd072c6.tar.gz guix-3806c39c91c5a04c185ec11ac659d4b57cd072c6.zip |
gnu: entr: Improve package style.
* gnu/packages/entr.scm (entr): Improve package style. The changes are the
result of running ./pre-inst-env guix style entr.
Change-Id: I9579e326f88c6066078f2df78a12431f3f4badd4
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/entr.scm')
-rw-r--r-- | gnu/packages/entr.scm | 57 |
1 files changed, 29 insertions, 28 deletions
diff --git a/gnu/packages/entr.scm b/gnu/packages/entr.scm index bb09acd6aa..f84a217814 100644 --- a/gnu/packages/entr.scm +++ b/gnu/packages/entr.scm @@ -37,37 +37,38 @@ (package (name "entr") (version "5.6") - (source (origin - (method url-fetch) - (uri (string-append "https://eradman.com/entrproject/code/entr-" - version ".tar.gz")) - (sha256 - (base32 - "0kniklgnqv4j9carm78d3423wlwqw1ykxmlla4xmlfwdjbgvh8h2")))) + (source + (origin + (method url-fetch) + (uri (string-append "https://eradman.com/entrproject/code/entr-" + version ".tar.gz")) + (sha256 + (base32 "0kniklgnqv4j9carm78d3423wlwqw1ykxmlla4xmlfwdjbgvh8h2")))) (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)))))))) - (inputs - (list bash coreutils ncurses)) + #: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)))))))) + (inputs (list bash coreutils ncurses)) (home-page "https://eradman.com/entrproject/") (synopsis "Run arbitrary commands when files change") (description |