pg_hll: init at 2.10.2-9af41684
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
962e2553dc
commit
33202137bf
2 changed files with 33 additions and 0 deletions
31
pkgs/servers/sql/postgresql/pg_hll/default.nix
Normal file
31
pkgs/servers/sql/postgresql/pg_hll/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ stdenv, fetchFromGitHub, postgresql }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pg_hll-${version}";
|
||||
version = "2.10.2-${builtins.substring 0 7 src.rev}";
|
||||
|
||||
buildInputs = [ postgresql ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "citusdata";
|
||||
repo = "postgresql-hll";
|
||||
rev = "9af41684d479a3097bab87d04936702c9e6baf5c";
|
||||
sha256 = "044x9v9kjhxb0idqb9f5i7c3yygxxsqliswl4kspqy9f9qcblckl";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/{lib,share/extension}
|
||||
|
||||
cp *.so $out/lib
|
||||
cp *.sql $out/share/extension
|
||||
cp *.control $out/share/extension
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "HyperLogLog for PostgreSQL";
|
||||
homepage = https://www.citusdata.com/;
|
||||
maintainers = with maintainers; [ thoughtpolice ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
|
@ -2764,6 +2764,8 @@ with pkgs;
|
|||
|
||||
cstore_fdw = callPackage ../servers/sql/postgresql/cstore_fdw {};
|
||||
|
||||
pg_hll = callPackage ../servers/sql/postgresql/pg_hll {};
|
||||
|
||||
pg_cron = callPackage ../servers/sql/postgresql/pg_cron {};
|
||||
|
||||
pgtap = callPackage ../servers/sql/postgresql/pgtap {};
|
||||
|
|
Loading…
Reference in a new issue