about summary refs log tree commit diff
path: root/pkgs/tools/misc/odyssey
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2022-02-12 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2022-02-12 04:20:00 +0000
commit453f10d4405224a65a3658a5b52061c2b335040e (patch)
tree34e00276706da4bc322a3016305e83e5230ab3f7 /pkgs/tools/misc/odyssey
parentaf6cca4700eeb62da3a8e7662a723f9c44a259de (diff)
odyssey: 1.0rc1 -> 1.2
https://github.com/yandex/odyssey/releases/tag/1.2
Diffstat (limited to 'pkgs/tools/misc/odyssey')
-rw-r--r--pkgs/tools/misc/odyssey/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/tools/misc/odyssey/default.nix b/pkgs/tools/misc/odyssey/default.nix
index 788f300673585..f154cffa9c6b7 100644
--- a/pkgs/tools/misc/odyssey/default.nix
+++ b/pkgs/tools/misc/odyssey/default.nix
@@ -1,18 +1,19 @@
-{ lib, stdenv, fetchFromGitHub, cmake, openssl }:
+{ lib, stdenv, fetchFromGitHub, cmake, openssl, postgresql }:
 
 stdenv.mkDerivation rec {
   pname = "odyssey";
-  version = "1.0rc1";
+  version = "1.2";
 
   src = fetchFromGitHub {
     owner = "yandex";
     repo = pname;
     rev = version;
-    sha256 = "0p9zzazx3bhwz7sz8l757lwdj8qx0ij2k3g0d12prs0xfi1qhcmz";
+    sha256 = "sha256-wxENqB9CmRVsQY9jTPUlpdiXpuqoU/2hRCY41f9uH3A=";
   };
 
   nativeBuildInputs = [ cmake ];
-  buildInputs = [ openssl ];
+  buildInputs = [ openssl postgresql ];
+  cmakeFlags = [ "-DPQ_LIBRARY=${postgresql.lib}/lib" ];
 
   installPhase = ''
     install -Dm755 -t $out/bin sources/odyssey