diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/odyssey/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/misc/odyssey/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/misc/odyssey/default.nix b/nixpkgs/pkgs/tools/misc/odyssey/default.nix new file mode 100644 index 000000000000..160474f81523 --- /dev/null +++ b/nixpkgs/pkgs/tools/misc/odyssey/default.nix @@ -0,0 +1,28 @@ +{ 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" ]; + }; +} |