summary refs log tree commit diff
path: root/pkgs/tools/misc/odyssey
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-03-12 16:20:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2019-03-16 07:59:32 -0500
commitfef17b195a7d11a06fd5cbed6db6103c9994edba (patch)
tree33330587b6a68a7ee2e6f363300fb9732d73eec5 /pkgs/tools/misc/odyssey
parentda1a2b1eeafa66b4419b4f275396d8a731eccb61 (diff)
downloadnixpkgs-fef17b195a7d11a06fd5cbed6db6103c9994edba.tar
nixpkgs-fef17b195a7d11a06fd5cbed6db6103c9994edba.tar.gz
nixpkgs-fef17b195a7d11a06fd5cbed6db6103c9994edba.tar.bz2
nixpkgs-fef17b195a7d11a06fd5cbed6db6103c9994edba.tar.lz
nixpkgs-fef17b195a7d11a06fd5cbed6db6103c9994edba.tar.xz
nixpkgs-fef17b195a7d11a06fd5cbed6db6103c9994edba.tar.zst
nixpkgs-fef17b195a7d11a06fd5cbed6db6103c9994edba.zip
odyssey: init at 2019-03-12
Diffstat (limited to 'pkgs/tools/misc/odyssey')
-rw-r--r--pkgs/tools/misc/odyssey/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/odyssey/default.nix b/pkgs/tools/misc/odyssey/default.nix
new file mode 100644
index 00000000000..13958332138
--- /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" ];
+  };
+}