timescaledb: 1.0.0 -> 1.2.2

This commit is contained in:
Mario Rodas 2019-03-25 16:20:00 -05:00
parent 7a8d8e9e7f
commit 42b75c6c38
No known key found for this signature in database
GPG key ID: 4C4BEFD7B18DC5E8

View file

@ -8,7 +8,7 @@
stdenv.mkDerivation rec {
name = "timescaledb-${version}";
version = "1.0.0";
version = "1.2.2";
nativeBuildInputs = [ cmake ];
buildInputs = [ postgresql openssl ];
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
owner = "timescale";
repo = "timescaledb";
rev = "refs/tags/${version}";
sha256 = "1359jc0dw8q3f0iipqfadzs8lvri9qa5w59ziz00x1d09ppw2q40";
sha256 = "1fb1ab07jmgd1drinl25mbhwx966f75c7i7nh3ah0xf3cbk298xr";
};
# Fix the install phase which tries to install into the pgsql extension dir,
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
--replace 'DESTINATION "''${PG_SHAREDIR}/extension"' "DESTINATION \"$out/share/extension\""
done
for x in src/CMakeLists.txt src/loader/CMakeLists.txt; do
for x in src/CMakeLists.txt src/loader/CMakeLists.txt tsl/src/CMakeLists.txt; do
substituteInPlace "$x" \
--replace 'DESTINATION ''${PG_PKGLIBDIR}' "DESTINATION \"$out/lib\""
done
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
description = "Scales PostgreSQL for time-series data via automatic partitioning across time and space";
homepage = https://www.timescale.com/;
maintainers = with maintainers; [ volth ];
platforms = platforms.linux;
platforms = postgresql.meta.platforms;
license = licenses.asl20;
};
}