Merge pull request #258811 from Enzime/qalculate-bundle

qalculate-gtk: generate bundle on macOS
This commit is contained in:
Doron Behar 2023-10-04 10:17:45 +03:00 committed by GitHub
commit d478d2c6b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, intltool, autoreconfHook, pkg-config, libqalculate, gtk3, curl, wrapGAppsHook }:
{ lib, stdenv, fetchFromGitHub, intltool, autoreconfHook, pkg-config, libqalculate, gtk3, curl, wrapGAppsHook, desktopToDarwinBundle }:
stdenv.mkDerivation (finalAttrs: {
pname = "qalculate-gtk";
@ -13,7 +13,8 @@ stdenv.mkDerivation (finalAttrs: {
hardeningDisable = [ "format" ];
nativeBuildInputs = [ intltool pkg-config autoreconfHook wrapGAppsHook ];
nativeBuildInputs = [ intltool pkg-config autoreconfHook wrapGAppsHook ]
++ lib.optionals stdenv.isDarwin [ desktopToDarwinBundle ];
buildInputs = [ libqalculate gtk3 curl ];
enableParallelBuilding = true;