1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00
nixpkgs/pkgs/tools/misc/odyssey/default.nix

29 lines
712 B
Nix
Raw Normal View History

2019-03-12 21:20:00 +00:00
{ stdenv, fetchFromGitHub, cmake, openssl }:
stdenv.mkDerivation rec {
pname = "odyssey";
version = "unstable-2019-03-12";
src = fetchFromGitHub {
owner = "yandex";
repo = pname;
rev = "af015839b03f30260c75d8f565521910c0694ed6";
sha256 = "1cnnypvk78wp1qmqfriky40ls0grkp4v46mypyaq5kl8ppknvnvs";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ openssl ];
installPhase = ''
install -Dm755 -t $out/bin sources/odyssey
'';
meta = with stdenv.lib; {
description = "Scalable PostgreSQL connection pooler";
homepage = https://github.com/yandex/odyssey;
license = licenses.bsd3;
maintainers = [ maintainers.marsam ];
platforms = [ "x86_64-linux" ];
};
}