Files
nixpkgs/pkgs/by-name/wx/wxsqlite3/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

53 lines
869 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
wxGTK32,
sqlite,
}:
stdenv.mkDerivation rec {
pname = "wxsqlite3";
version = "4.10.12";
src = fetchFromGitHub {
owner = "utelle";
repo = "wxsqlite3";
rev = "v${version}";
hash = "sha256-3t8SQJdB7ivuCnsr5TxmgslQNkvz+O/mE3NB+R/kXHM=";
};
enableParallelBuilding = true;
nativeBuildInputs = [
autoreconfHook
];
buildInputs = [
sqlite
wxGTK32
];
doCheck = true;
checkPhase = ''
runHook preCheck
./samples/minimal -t -s ./samples
runHook postCheck
'';
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
];
};
}