xarchiver: enable on darwin

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
This commit is contained in:
Ihar Hrachyshka 2025-06-02 21:38:24 -04:00
parent 14aac472ad
commit b08ea14f5e

View file

@ -17,6 +17,7 @@
gzip, gzip,
lhasa, lhasa,
wrapGAppsHook3, wrapGAppsHook3,
desktopToDarwinBundle,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -35,7 +36,8 @@ stdenv.mkDerivation rec {
pkg-config pkg-config
makeWrapper makeWrapper
wrapGAppsHook3 wrapGAppsHook3
]; ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ desktopToDarwinBundle ];
buildInputs = [ buildInputs = [
gtk3 gtk3
libxslt libxslt
@ -59,7 +61,6 @@ stdenv.mkDerivation rec {
''; '';
meta = { meta = {
broken = stdenv.hostPlatform.isDarwin;
description = "GTK frontend to 7z,zip,rar,tar,bzip2, gzip,arj, lha, rpm and deb (open and extract only)"; description = "GTK frontend to 7z,zip,rar,tar,bzip2, gzip,arj, lha, rpm and deb (open and extract only)";
homepage = "https://github.com/ib/xarchiver"; homepage = "https://github.com/ib/xarchiver";
maintainers = [ lib.maintainers.domenkozar ]; maintainers = [ lib.maintainers.domenkozar ];