nixpkgs/pkgs/by-name/co/cowsql/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

60 lines
1.0 KiB
Nix
Raw Normal View History

2024-03-30 02:50:09 +00:00
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
libuv,
raft-cowsql,
sqlite,
incus,
nix-update-script,
2023-08-29 14:45:16 +00:00
}:
stdenv.mkDerivation (finalAttrs: {
2023-08-29 14:45:16 +00:00
pname = "cowsql";
2024-03-30 02:50:09 +00:00
version = "1.15.6";
2023-08-29 14:45:16 +00:00
src = fetchFromGitHub {
owner = "cowsql";
repo = "cowsql";
rev = "refs/tags/v${finalAttrs.version}";
2024-03-30 02:50:09 +00:00
hash = "sha256-cr6AT/n2/6DuGK53JvGLwCkMi4+fS128qxj3X9SJYuw=";
2023-08-29 14:45:16 +00:00
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libuv
raft-cowsql.dev
sqlite
];
enableParallelBuilding = true;
doCheck = true;
2024-03-30 02:50:09 +00:00
outputs = [
"dev"
"out"
];
2023-08-29 14:45:16 +00:00
passthru = {
2023-10-20 04:10:59 +00:00
inherit (incus) tests;
2023-08-29 14:45:16 +00:00
2024-03-30 02:50:09 +00:00
updateScript = nix-update-script { };
2023-08-29 14:45:16 +00:00
};
meta = with lib; {
2024-04-20 22:31:52 +00:00
changelog = "https://github.com/cowsql/cowsql/releases/tag/${finalAttrs.version}";
2023-08-29 14:45:16 +00:00
description = "Embeddable, replicated and fault tolerant SQL engine";
homepage = "https://github.com/cowsql/cowsql";
license = licenses.lgpl3Only;
maintainers = teams.lxc.members;
2023-08-29 14:51:14 +00:00
platforms = platforms.unix;
2023-08-29 14:45:16 +00:00
};
})