1{
2 fetchFromGitHub,
3 lib,
4 postgresql,
5 postgresqlBuildExtension,
6}:
7
8postgresqlBuildExtension (finalAttrs: {
9 pname = "pg_hll";
10 version = "2.18";
11
12 src = fetchFromGitHub {
13 owner = "citusdata";
14 repo = "postgresql-hll";
15 tag = "v${finalAttrs.version}";
16 hash = "sha256-Latdxph1Ura8yKEokEjalJ+/GY+pAKOT3GXjuLprj6c=";
17 };
18
19 meta = {
20 description = "HyperLogLog for PostgreSQL";
21 homepage = "https://github.com/citusdata/postgresql-hll";
22 changelog = "https://github.com/citusdata/postgresql-hll/blob/v${finalAttrs.version}/CHANGELOG.md";
23 maintainers = with lib.maintainers; [ thoughtpolice ];
24 platforms = postgresql.meta.platforms;
25 license = lib.licenses.asl20;
26 };
27})