mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
postgresqlPackages.timescaledb: nixfmt
This commit is contained in:
parent
86706a140b
commit
993b24e1a1
@ -1,11 +1,25 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, postgresql, openssl, libkrb5, nixosTests, enableUnfree ? true, buildPostgresqlExtension }:
|
||||
{
|
||||
buildPostgresqlExtension,
|
||||
cmake,
|
||||
enableUnfree ? true,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
libkrb5,
|
||||
nixosTests,
|
||||
openssl,
|
||||
postgresql,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
buildPostgresqlExtension rec {
|
||||
pname = "timescaledb${lib.optionalString (!enableUnfree) "-apache"}";
|
||||
version = "2.17.2";
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ openssl libkrb5 ];
|
||||
buildInputs = [
|
||||
openssl
|
||||
libkrb5
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "timescale";
|
||||
@ -14,7 +28,12 @@ buildPostgresqlExtension rec {
|
||||
hash = "sha256-gPsAebMUBuAwP6Hoi9/vrc2IFsmTbL0wQH1g6/2k2d4=";
|
||||
};
|
||||
|
||||
cmakeFlags = [ "-DSEND_TELEMETRY_DEFAULT=OFF" "-DREGRESS_CHECKS=OFF" "-DTAP_CHECKS=OFF" ]
|
||||
cmakeFlags =
|
||||
[
|
||||
"-DSEND_TELEMETRY_DEFAULT=OFF"
|
||||
"-DREGRESS_CHECKS=OFF"
|
||||
"-DTAP_CHECKS=OFF"
|
||||
]
|
||||
++ lib.optionals (!enableUnfree) [ "-DAPACHE_ONLY=ON" ]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ "-DLINTER=OFF" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user