Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 28 lines 722 B view raw
1{ 2 fetchFromGitLab, 3 lib, 4 postgresql, 5 postgresqlBuildExtension, 6}: 7 8postgresqlBuildExtension (finalAttrs: { 9 pname = "pg_ed25519"; 10 version = "0.2"; 11 12 src = fetchFromGitLab { 13 owner = "dwagin"; 14 repo = "pg_ed25519"; 15 tag = finalAttrs.version; 16 hash = "sha256-IOL3ogbPCMNmwDwpeaCZSoaFLJRX0Oah+ysgyUfHg5s="; 17 }; 18 19 meta = { 20 description = "PostgreSQL extension for signing and verifying ed25519 signatures"; 21 homepage = "https://gitlab.com/dwagin/pg_ed25519"; 22 maintainers = with lib.maintainers; [ renzo ]; 23 platforms = postgresql.meta.platforms; 24 license = lib.licenses.mit; 25 # Broken with no upstream fix available. 26 broken = lib.versionAtLeast postgresql.version "16"; 27 }; 28})