Files
nixpkgs/pkgs/by-name/wx/wxsqlite3/package.nix
quantenzitrone 62efab0dad wxwidgets_3_{1,2}: rename from wxGTK3{1,2}
fit attrname to pname
2026-02-27 10:56:33 +01:00

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
];
};
})