2021-08-09 09:32:44 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2020-05-05 17:41:38 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, wxGTK
|
|
|
|
, sqlite
|
2021-08-09 09:32:44 +00:00
|
|
|
, Cocoa
|
|
|
|
, setfile
|
|
|
|
, rez
|
|
|
|
, derez
|
2020-05-05 17:41:38 +00:00
|
|
|
}:
|
2016-07-05 07:12:35 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "wxsqlite3";
|
2023-03-18 09:30:49 +00:00
|
|
|
version = "4.9.3";
|
2016-07-05 07:12:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "utelle";
|
|
|
|
repo = "wxsqlite3";
|
|
|
|
rev = "v${version}";
|
2023-03-18 09:30:49 +00:00
|
|
|
hash = "sha256-HdsPCdZF1wMTGYFaXzq+f4bUFjgCAklsKhhdyMKaxp8=";
|
2016-07-05 07:12:35 +00:00
|
|
|
};
|
|
|
|
|
2020-05-05 17:41:38 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2017-04-08 03:35:21 +00:00
|
|
|
|
2022-10-08 14:19:49 +00:00
|
|
|
buildInputs = [ sqlite wxGTK ]
|
|
|
|
++ lib.optionals (stdenv.isDarwin) [ Cocoa setfile rez derez ];
|
2016-07-05 07:12:35 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://utelle.github.io/wxsqlite3/";
|
2016-07-05 07:12:35 +00:00
|
|
|
description = "A C++ wrapper around the public domain SQLite 3.x for wxWidgets";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ vrthra ];
|
2021-08-09 09:32:44 +00:00
|
|
|
license = with licenses; [ lgpl3Plus gpl3Plus ];
|
2016-07-05 07:12:35 +00:00
|
|
|
};
|
|
|
|
}
|