This is for consistency with postgresqlTestExtension and postgresqlTestHook. Everything that is passed via postgresql's generic.nix "packages scope" now is prefixed with "postgresql".
29 lines
690 B
Nix
29 lines
690 B
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
postgresql,
|
|
postgresqlBuildExtension,
|
|
stdenv,
|
|
}:
|
|
|
|
postgresqlBuildExtension rec {
|
|
pname = "pg_hll";
|
|
version = "2.18";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "citusdata";
|
|
repo = "postgresql-hll";
|
|
tag = "v${version}";
|
|
hash = "sha256-Latdxph1Ura8yKEokEjalJ+/GY+pAKOT3GXjuLprj6c=";
|
|
};
|
|
|
|
meta = {
|
|
description = "HyperLogLog for PostgreSQL";
|
|
homepage = "https://github.com/citusdata/postgresql-hll";
|
|
changelog = "https://github.com/citusdata/postgresql-hll/blob/v${version}/CHANGELOG.md";
|
|
maintainers = with lib.maintainers; [ thoughtpolice ];
|
|
platforms = postgresql.meta.platforms;
|
|
license = lib.licenses.asl20;
|
|
};
|
|
}
|