me
/
guix
Archived
1
0
Fork 0

gnu: diff-so-fancy: Update to 1.4.3.

* gnu/packages/version-control.scm (diff-so-fancy): Update to 1.4.3.
[arguments]: Don't explicitly return #t from phases.
master
Tobias Geerinckx-Rice 2021-12-17 03:09:35 +01:00
parent 6a3900e75b
commit cfee80cc91
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 4 additions and 6 deletions

View File

@ -3024,7 +3024,7 @@ for historians.")
(define-public diff-so-fancy (define-public diff-so-fancy
(package (package
(name "diff-so-fancy") (name "diff-so-fancy")
(version "1.4.2") (version "1.4.3")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -3033,7 +3033,7 @@ for historians.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0q0byg2bpibl3lbn4zibwcfxzlx2x5krajxmpwgizf32qjp5lh6n")))) "11vkq5njjlvjipic7db44ga875n61drszw1qrdzwxmmfmnz425zz"))))
(inputs (inputs
(list perl ncurses)) (list perl ncurses))
(build-system copy-build-system) (build-system copy-build-system)
@ -3045,8 +3045,7 @@ for historians.")
(let ((lib (string-append (assoc-ref outputs "out") "/lib"))) (let ((lib (string-append (assoc-ref outputs "out") "/lib")))
(substitute* "diff-so-fancy" (substitute* "diff-so-fancy"
(("use lib.*$") (("use lib.*$")
(string-append "use lib '" lib "';\n"))) (string-append "use lib '" lib "';\n"))))))
#t)))
(add-after 'install 'symlink-executable (add-after 'install 'symlink-executable
(lambda* (#:key outputs inputs #:allow-other-keys) (lambda* (#:key outputs inputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")) (let ((out (assoc-ref outputs "out"))
@ -3054,8 +3053,7 @@ for historians.")
(perl (assoc-ref inputs "perl"))) (perl (assoc-ref inputs "perl")))
(wrap-program (string-append out "/bin/diff-so-fancy") (wrap-program (string-append out "/bin/diff-so-fancy")
`("PATH" ":" prefix (,(string-append ncurses "/bin") `("PATH" ":" prefix (,(string-append ncurses "/bin")
,(string-append perl "/bin")))) ,(string-append perl "/bin"))))))))
#t))))
#:install-plan #:install-plan
'(("lib" "lib") '(("lib" "lib")
("diff-so-fancy" "bin/")))) ("diff-so-fancy" "bin/"))))