From fef17b195a7d11a06fd5cbed6db6103c9994edba Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 12 Mar 2019 16:20:00 -0500 Subject: [PATCH] odyssey: init at 2019-03-12 --- pkgs/tools/misc/odyssey/default.nix | 28 ++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/tools/misc/odyssey/default.nix diff --git a/pkgs/tools/misc/odyssey/default.nix b/pkgs/tools/misc/odyssey/default.nix new file mode 100644 index 000000000000..13958332138d --- /dev/null +++ b/pkgs/tools/misc/odyssey/default.nix @@ -0,0 +1,28 @@ +{ 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" ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 21175bcf2e4c..1525f4295461 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4628,6 +4628,8 @@ in odt2txt = callPackage ../tools/text/odt2txt { }; + odyssey = callPackage ../tools/misc/odyssey { }; + offlineimap = callPackage ../tools/networking/offlineimap { }; oh-my-zsh = callPackage ../shells/zsh/oh-my-zsh { };