odyssey: 1.0rc1 -> 1.2
https://github.com/yandex/odyssey/releases/tag/1.2
This commit is contained in:
parent
af6cca4700
commit
453f10d440
|
@ -1,18 +1,19 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, cmake, openssl }:
|
{ lib, stdenv, fetchFromGitHub, cmake, openssl, postgresql }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "odyssey";
|
pname = "odyssey";
|
||||||
version = "1.0rc1";
|
version = "1.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "yandex";
|
owner = "yandex";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0p9zzazx3bhwz7sz8l757lwdj8qx0ij2k3g0d12prs0xfi1qhcmz";
|
sha256 = "sha256-wxENqB9CmRVsQY9jTPUlpdiXpuqoU/2hRCY41f9uH3A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl postgresql ];
|
||||||
|
cmakeFlags = [ "-DPQ_LIBRARY=${postgresql.lib}/lib" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dm755 -t $out/bin sources/odyssey
|
install -Dm755 -t $out/bin sources/odyssey
|
||||||
|
|
Loading…
Reference in a new issue