41 lines
707 B
Nix
41 lines
707 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
wxGTK32,
|
|
sqlite,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "wxsqlite3";
|
|
version = "4.10.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "utelle";
|
|
repo = "wxsqlite3";
|
|
rev = "v${version}";
|
|
hash = "sha256-pCmhDmJLR+2GZJEyF7zW4BtSz7mTJ/WZXQB+KXaqIkA=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
];
|
|
|
|
buildInputs = [
|
|
sqlite
|
|
wxGTK32
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://utelle.github.io/wxsqlite3/";
|
|
description = "C++ wrapper around the public domain SQLite 3.x for wxWidgets";
|
|
platforms = platforms.unix;
|
|
maintainers = [ ];
|
|
license = with licenses; [
|
|
lgpl3Plus
|
|
gpl3Plus
|
|
];
|
|
};
|
|
}
|