mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
52 lines
1.0 KiB
Nix
52 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromBitbucket,
|
|
nix-update-script,
|
|
autoconf,
|
|
automake,
|
|
libtool,
|
|
re2c,
|
|
sqlite,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
version = "3.6.0";
|
|
pname = "libzdb";
|
|
|
|
src = fetchFromBitbucket {
|
|
owner = "tildeslash";
|
|
repo = "libzdb";
|
|
tag = "release-${lib.replaceString "." "-" finalAttrs.version}";
|
|
hash = "sha256-D9JHIpIEA1Y8y5ZinQzs32rjnKkdknM9I1OofCD0zK0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoconf
|
|
automake
|
|
libtool
|
|
re2c
|
|
];
|
|
buildInputs = [ sqlite ];
|
|
|
|
strictDeps = true;
|
|
|
|
preConfigure = "sh ./bootstrap";
|
|
|
|
passthru.updateScript = nix-update-script {
|
|
extraArgs = [
|
|
"--version-regex"
|
|
"release-(\\d+)-(\\d+)-(\\d+)"
|
|
];
|
|
};
|
|
|
|
meta = {
|
|
description = "Small, easy to use Open Source Database Connection Pool Library";
|
|
homepage = "http://www.tildeslash.com/libzdb/";
|
|
downloadPage = "https://bitbucket.org/tildeslash/libzdb/";
|
|
license = lib.licenses.gpl3Plus;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [ maevii ];
|
|
};
|
|
})
|