9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
39 lines
904 B
Nix
39 lines
904 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkg-config, file, libco-canonical
|
|
, libuv, raft-canonical, sqlite-replication }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dqlite";
|
|
version = "1.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "canonical";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0h7ypigj1b6xbspzc35y89jkp84v8rqiv9qgkyqlqylr7mcw952a";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook file pkg-config ];
|
|
buildInputs = [
|
|
libco-canonical.dev
|
|
libuv
|
|
raft-canonical.dev
|
|
sqlite-replication
|
|
];
|
|
|
|
# tests fail
|
|
doCheck = false;
|
|
|
|
outputs = [ "dev" "out" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = ''
|
|
Expose a SQLite database over the network and replicate it across a
|
|
cluster of peers
|
|
'';
|
|
homepage = "https://dqlite.io/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ joko wucke13 ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|