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 { };