Archived
1
0
Fork 0

gnu: ne: Update to 3.3.1.

* gnu/packages/text-editors.scm (ne): Update to 3.3.1.
[arguments]: Add a 'patch-early-shebang phase.
Don't return #t from other phases.
This commit is contained in:
Tobias Geerinckx-Rice 2021-09-05 03:03:36 +02:00
parent 7022a169bc
commit 45066bc9ff
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1083,7 +1083,7 @@ card. It offers:
(define-public ne (define-public ne
(package (package
(name "ne") (name "ne")
(version "3.3.0") (version "3.3.1")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -1092,7 +1092,7 @@ card. It offers:
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"01aglnsfljlvx0wvyvpjfn4y88jf450a06qnj9a8lgdqv1hdkq1a")))) "0sg2f6lxq6cjkpd3dvlxxns82hvq826rjnams5in97pssmknr77g"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("perl" ,perl) `(("perl" ,perl)
@ -1108,11 +1108,14 @@ card. It offers:
"/lib")) "/lib"))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'configure 'patch-early-shebang
(lambda _
(substitute* "version.pl"
(("/usr/bin/env .*perl") (which "perl")))))
(replace 'configure (replace 'configure
(lambda _ (lambda _
(substitute* "src/makefile" (substitute* "src/makefile"
(("-lcurses") "-lncurses")) (("-lcurses") "-lncurses")))))))
#t)))))
(home-page "https://ne.di.unimi.it/") (home-page "https://ne.di.unimi.it/")
(synopsis "Text editor with menu bar") (synopsis "Text editor with menu bar")
(description "This package provides a modeless text editor with menu bar. (description "This package provides a modeless text editor with menu bar.