Files
nixpkgs/pkgs/servers/sql/postgresql/ext/pg_uuidv7.nix
2025-10-14 22:02:45 +00:00

28 lines
703 B
Nix

{
fetchFromGitHub,
lib,
postgresql,
postgresqlBuildExtension,
}:
postgresqlBuildExtension (finalAttrs: {
pname = "pg_uuidv7";
version = "1.7.0";
src = fetchFromGitHub {
owner = "fboulnois";
repo = "pg_uuidv7";
tag = "v${finalAttrs.version}";
hash = "sha256-1zZT3HqRnVw2pIkxFmXqYwYenXGbM91JB0jTwsdtgnw=";
};
meta = {
description = "Tiny Postgres extension to create version 7 UUIDs";
homepage = "https://github.com/fboulnois/pg_uuidv7";
changelog = "https://github.com/fboulnois/pg_uuidv7/blob/main/CHANGELOG.md";
maintainers = with lib.maintainers; [ gaelreyrol ];
platforms = postgresql.meta.platforms;
license = lib.licenses.mpl20;
};
})