mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
28 lines
712 B
Nix
28 lines
712 B
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
postgresql,
|
|
postgresqlBuildExtension,
|
|
}:
|
|
|
|
postgresqlBuildExtension (finalAttrs: {
|
|
pname = "pg_hll";
|
|
version = "2.18";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "citusdata";
|
|
repo = "postgresql-hll";
|
|
tag = "v${finalAttrs.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${finalAttrs.version}/CHANGELOG.md";
|
|
maintainers = with lib.maintainers; [ thoughtpolice ];
|
|
platforms = postgresql.meta.platforms;
|
|
license = lib.licenses.asl20;
|
|
};
|
|
})
|