1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 autoreconfHook,
6 wxGTK32,
7 sqlite,
8}:
9
10stdenv.mkDerivation rec {
11 pname = "wxsqlite3";
12 version = "4.10.9";
13
14 src = fetchFromGitHub {
15 owner = "utelle";
16 repo = "wxsqlite3";
17 rev = "v${version}";
18 hash = "sha256-vxRbCImGEb9Y5lpiGgkMsOpgjcwMlDLs2LNmS3liy4A=";
19 };
20
21 nativeBuildInputs = [
22 autoreconfHook
23 ];
24
25 buildInputs = [
26 sqlite
27 wxGTK32
28 ];
29
30 meta = with lib; {
31 homepage = "https://utelle.github.io/wxsqlite3/";
32 description = "C++ wrapper around the public domain SQLite 3.x for wxWidgets";
33 platforms = platforms.unix;
34 maintainers = [ ];
35 license = with licenses; [
36 lgpl3Plus
37 gpl3Plus
38 ];
39 };
40}