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
46 lines
790 B
Nix
46 lines
790 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
sqlite,
|
|
gtest,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "sqlitecpp";
|
|
version = "3.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SRombauts";
|
|
repo = "sqlitecpp";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-RSNJGfvIvNfk+/Awzh06tDi/TA5Wc35X8ya0X5mP9IE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
buildInputs = [
|
|
sqlite
|
|
gtest
|
|
];
|
|
doCheck = true;
|
|
|
|
cmakeFlags = [
|
|
"-DSQLITECPP_INTERNAL_SQLITE=OFF"
|
|
"-DSQLITECPP_BUILD_TESTS=ON"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://srombauts.github.io/SQLiteCpp/";
|
|
description = "C++ SQLite3 wrapper";
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
maintainers = [
|
|
maintainers.jbedo
|
|
maintainers.doronbehar
|
|
];
|
|
};
|
|
})
|