mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-16 12:20:10 +00:00
53 lines
899 B
Nix
53 lines
899 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
wxwidgets_3_2,
|
|
sqlite,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "wxsqlite3";
|
|
version = "4.11.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "utelle";
|
|
repo = "wxsqlite3";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-RSAA4wZRouGPpIekfSXA8cTUb9ByCK2GbV5/mcJ/6eQ=";
|
|
};
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
];
|
|
|
|
buildInputs = [
|
|
sqlite
|
|
wxwidgets_3_2
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
checkPhase = ''
|
|
runHook preCheck
|
|
|
|
./samples/minimal -t -s ./samples
|
|
|
|
runHook postCheck
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://utelle.github.io/wxsqlite3/";
|
|
description = "C++ wrapper around the public domain SQLite 3.x for wxWidgets";
|
|
platforms = lib.platforms.unix;
|
|
maintainers = [ ];
|
|
license = with lib.licenses; [
|
|
lgpl3Plus
|
|
gpl3Plus
|
|
];
|
|
};
|
|
})
|