1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 08:31:59 +00:00
nixpkgs/pkgs/tools/misc/odyssey/default.nix
2019-06-19 07:51:06 -05:00

29 lines
664 B
Nix

{ stdenv, fetchFromGitHub, cmake, openssl }:
stdenv.mkDerivation rec {
pname = "odyssey";
version = "1.0rc1";
src = fetchFromGitHub {
owner = "yandex";
repo = pname;
rev = version;
sha256 = "0p9zzazx3bhwz7sz8l757lwdj8qx0ij2k3g0d12prs0xfi1qhcmz";
};
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" ];
};
}