diff --git a/pkgs/servers/sql/postgresql/ext/pg_hll.nix b/pkgs/servers/sql/postgresql/ext/pg_hll.nix index 709424365e7c..4f817d799aeb 100644 --- a/pkgs/servers/sql/postgresql/ext/pg_hll.nix +++ b/pkgs/servers/sql/postgresql/ext/pg_hll.nix @@ -1,9 +1,9 @@ { - lib, - stdenv, - fetchFromGitHub, - postgresql, buildPostgresqlExtension, + fetchFromGitHub, + lib, + postgresql, + stdenv, }: buildPostgresqlExtension rec { @@ -13,16 +13,16 @@ buildPostgresqlExtension rec { src = fetchFromGitHub { owner = "citusdata"; repo = "postgresql-hll"; - rev = "refs/tags/v${version}"; + tag = "v${version}"; hash = "sha256-Latdxph1Ura8yKEokEjalJ+/GY+pAKOT3GXjuLprj6c="; }; - meta = with lib; { + 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 maintainers; [ thoughtpolice ]; + maintainers = with lib.maintainers; [ thoughtpolice ]; platforms = postgresql.meta.platforms; - license = licenses.asl20; + license = lib.licenses.asl20; }; }