28 lines
703 B
Nix
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;
|
|
};
|
|
})
|