gnu: dos2unix: Use new package style.

* gnu/packages/textutils.scm (dos2unix)[arguments]: Use gexps.
[native-inputs]: Drop labels.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Timotej Lazar 2023-02-24 15:15:25 +01:00 committed by 宋文武
parent 66e677f58e
commit ad82d834f6
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -89,15 +89,14 @@ (define-public dos2unix
(base32 "0vj3wix17vl7a85hg673qqyrhw9sbq0xiadbbij7v0nm1gdl3a18"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
(list (string-append "CC=" ,(cc-for-target))
(string-append "prefix=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
(delete 'configure)))) ; no configure script
(list #:make-flags
#~(list (string-append "CC=" #$(cc-for-target))
(string-append "prefix=" #$output))
#:phases
#~(modify-phases %standard-phases
(delete 'configure)))) ; no configure script
(native-inputs
`(("gettext" ,gettext-minimal)
("perl" ,perl)))
(list gettext-minimal perl))
(home-page "https://waterlan.home.xs4all.nl/dos2unix.html")
(synopsis "DOS/Mac to Unix and vice versa text file format converter")
(description