mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 13:24:29 +00:00
23 lines
710 B
Nix
23 lines
710 B
Nix
{ lib, stdenv, fetchFromGitHub, postgresql, buildPostgresqlExtension }:
|
|
|
|
buildPostgresqlExtension rec {
|
|
pname = "pg_hll";
|
|
version = "2.18";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "citusdata";
|
|
repo = "postgresql-hll";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-Latdxph1Ura8yKEokEjalJ+/GY+pAKOT3GXjuLprj6c=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
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 maintainers; [ thoughtpolice ];
|
|
platforms = postgresql.meta.platforms;
|
|
license = licenses.asl20;
|
|
};
|
|
}
|