mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
cowsql: init at unstable-2023-09-21
This commit is contained in:
parent
8c9a6e228e
commit
ecbb810383
56
pkgs/by-name/co/cowsql/package.nix
Normal file
56
pkgs/by-name/co/cowsql/package.nix
Normal file
@ -0,0 +1,56 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, libuv
|
||||
, raft-cowsql
|
||||
, sqlite
|
||||
, incus
|
||||
, unstableGitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cowsql";
|
||||
version = "unstable-2023-09-21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cowsql";
|
||||
repo = "cowsql";
|
||||
rev = "b728f0a43b9ad416f9c5fa1fda8b205c7a469d80";
|
||||
hash = "sha256-B4ORrsUTfk/7glSpDndw1fCfFmd72iFr+2Xm5CryeZQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libuv
|
||||
raft-cowsql.dev
|
||||
sqlite
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
outputs = [ "dev" "out" ];
|
||||
|
||||
passthru = {
|
||||
tests = {
|
||||
inherit incus;
|
||||
};
|
||||
|
||||
updateScript = unstableGitUpdater { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Embeddable, replicated and fault tolerant SQL engine";
|
||||
homepage = "https://github.com/cowsql/cowsql";
|
||||
license = licenses.lgpl3Only;
|
||||
maintainers = with maintainers; [ adamcstephens ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user