nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 fetchFromGitHub,
3 lib,
4 postgresql,
5 postgresqlBuildExtension,
6}:
7
8postgresqlBuildExtension (finalAttrs: {
9 pname = "pg_uuidv7";
10 version = "1.7.0";
11
12 src = fetchFromGitHub {
13 owner = "fboulnois";
14 repo = "pg_uuidv7";
15 tag = "v${finalAttrs.version}";
16 hash = "sha256-1zZT3HqRnVw2pIkxFmXqYwYenXGbM91JB0jTwsdtgnw=";
17 };
18
19 meta = {
20 description = "Tiny Postgres extension to create version 7 UUIDs";
21 homepage = "https://github.com/fboulnois/pg_uuidv7";
22 changelog = "https://github.com/fboulnois/pg_uuidv7/blob/main/CHANGELOG.md";
23 maintainers = [ ];
24 platforms = postgresql.meta.platforms;
25 license = lib.licenses.mpl20;
26 };
27})