wxsqlite3: 3.3.1 -> 4.5.1

This commit is contained in:
Pavol Rusnak 2020-05-05 19:41:38 +02:00
parent 87b3ad919d
commit bece8c0db2
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -1,20 +1,23 @@
{ stdenv, fetchFromGitHub, wxGTK, sqlite
, darwin }:
{ stdenv
, fetchFromGitHub
, autoreconfHook
, wxGTK
, sqlite
, darwin
}:
stdenv.mkDerivation rec {
pname = "wxsqlite3";
version = "3.3.1";
version = "4.5.1";
src = fetchFromGitHub {
owner = "utelle";
repo = "wxsqlite3";
rev = "v${version}";
sha1 = "bb8p58g88nkdcsj3h4acx7h925n2cy9g";
sha256 = "0090f7r3blks18vifkna4l890fwaya58ajh9qblbw9065zj5hrm3";
};
preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
cp build28/Info.plist.in build28/wxmac.icns build/
'';
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ wxGTK sqlite ]
++ stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa darwin.stubs.setfile darwin.stubs.rez darwin.stubs.derez ];