wxsqlite3: fix macOS build
This commit is contained in:
parent
6a6b371a77
commit
719cb89342
@ -1,4 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, wxGTK, sqlite }:
|
{ stdenv, fetchFromGitHub, wxGTK, sqlite
|
||||||
|
, darwin }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "wxsqlite3-${version}";
|
name = "wxsqlite3-${version}";
|
||||||
@ -11,7 +12,12 @@ stdenv.mkDerivation rec {
|
|||||||
sha1 = "bb8p58g88nkdcsj3h4acx7h925n2cy9g";
|
sha1 = "bb8p58g88nkdcsj3h4acx7h925n2cy9g";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ wxGTK sqlite ];
|
preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
cp build28/Info.plist.in build28/wxmac.icns build/
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [ wxGTK sqlite ]
|
||||||
|
++ stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa darwin.stubs.setfile darwin.stubs.rez darwin.stubs.derez ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://utelle.github.io/wxsqlite3/ ;
|
homepage = http://utelle.github.io/wxsqlite3/ ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user