me
/
guix
Archived
1
0
Fork 0

gnu: p7zip: Remove input labels.

* gnu/packages/compression.scm (p7zip)[native-inputs]: Rewrite using
target macros and remove labels.
Efraim Flashner 2021-08-08 10:58:47 +03:00
parent 86fd77476d
commit 543aab8992
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 5 additions and 7 deletions

View File

@ -1350,13 +1350,11 @@ for most inputs, but the resulting compressed files are anywhere from 20% to
(invoke "make" "test_7z")
(invoke "make" "test_7zr")))))))
(native-inputs
(let ((system (or (%current-target-system)
(%current-system))))
`(,@(cond ((string-prefix? "x86_64" system)
`(("yasm" ,yasm)))
((string-prefix? "i686" system)
`(("nasm" ,nasm)))
(else '())))))
(cond ((target-x86-64?)
(list yasm))
((target-x86-32?)
(list nasm))
(else '())))
(home-page "http://p7zip.sourceforge.net/")
(synopsis "Command-line file archiver with high compression ratio")
(description "p7zip is a command-line port of 7-Zip, a file archiver that