Archived
1
0
Fork 0

gnu: parted: Use G-expressions & new input style.

* gnu/packages/disk.scm (parted)
[arguments]: Rewrite as G-expressions.
[native-inputs]: Remove input labels.
This commit is contained in:
Tobias Geerinckx-Rice 2022-05-08 02:00:03 +02:00
parent d798e5b6c1
commit 9a867c26b0
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -246,26 +246,25 @@ tmpfs/ramfs filesystems.")
"18h51i3x5cbqhlj5rm23m9sfw63gaaby5czln5w6qpqj3ifdsf29")))) "18h51i3x5cbqhlj5rm23m9sfw63gaaby5czln5w6qpqj3ifdsf29"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases (list #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'fix-locales-and-python (add-after 'unpack 'fix-locales-and-python
(lambda* (#:key inputs #:allow-other-keys) (lambda _
(substitute* "tests/t0251-gpt-unicode.sh" (substitute* "tests/t0251-gpt-unicode.sh"
(("C.UTF-8") "en_US.utf8")) ;not in Glibc locales (("C.UTF-8") "en_US.utf8")) ;not in Glibc locales
(substitute* "tests/msdos-overlap" (substitute* "tests/msdos-overlap"
(("/usr/bin/python") (which "python"))) (("/usr/bin/python") (which "python"))))))))
#t)))))
(inputs (inputs
(list lvm2 readline (list lvm2 readline
`(,util-linux "lib"))) `(,util-linux "lib")))
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal) (list gettext-minimal
;; For the tests. ;; For the tests.
("e2fsprogs" ,e2fsprogs) e2fsprogs
("perl" ,perl) perl
("python-wrapper" ,python-wrapper) python-wrapper
("util-linux" ,util-linux))) util-linux))
(home-page "https://www.gnu.org/software/parted/") (home-page "https://www.gnu.org/software/parted/")
(synopsis "Disk partition editor") (synopsis "Disk partition editor")
(description (description