Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 28 lines 758 B view raw
1{ 2 fetchFromGitHub, 3 lib, 4 postgresql, 5 postgresqlBuildExtension, 6}: 7 8postgresqlBuildExtension (finalAttrs: { 9 pname = "pg_uuidv7"; 10 version = "1.6.0"; 11 12 src = fetchFromGitHub { 13 owner = "fboulnois"; 14 repo = "pg_uuidv7"; 15 tag = "v${finalAttrs.version}"; 16 hash = "sha256-lG6dCnbLALnfQc4uclqXXXfYjK/WXLV0lo5I8l1E5p4="; 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 = with lib.maintainers; [ gaelreyrol ]; 24 platforms = postgresql.meta.platforms; 25 license = lib.licenses.mpl20; 26 broken = lib.versionOlder postgresql.version "13"; 27 }; 28})