Files
nixpkgs/pkgs/servers/sql/postgresql/ext/anonymizer.nix
T
Wolfgang Walther a9d91573e9 postgresqlPackages.anonymizer: fix maintainer pings
Because of `lib.getAttrs`,
`postgresqlPackages.anonymizer.meta.teamsPosition` returned the path to
`lib/attrsets.nix`. This caused maintainer pings for that file for the
maintainers of `postgresqlPackages.anonymizer`.

Using regular `inherit` syntax moves the definition of the `teams`
attribute in the right file and fixes the maintainer pings.
2025-10-30 09:38:15 +01:00

31 lines
737 B
Nix

{
cargo-pgrx_0_16_0,
jitSupport,
lib,
nixosTests,
pg-dump-anon,
postgresql,
buildPgrxExtension,
runtimeShell,
}:
buildPgrxExtension {
pname = "postgresql_anonymizer";
inherit (pg-dump-anon) version src;
inherit postgresql;
cargo-pgrx = cargo-pgrx_0_16_0;
cargoHash = "sha256-Z1uH6Z2qLV1Axr8dXqPznuEZcacAZnv11tb3lWBh1yw=";
# Tries to copy extension into postgresql's store path.
doCheck = false;
passthru.tests = nixosTests.postgresql.anonymizer.passthru.override postgresql;
meta = {
inherit (pg-dump-anon.meta) homepage teams license;
description = "Extension to mask or replace personally identifiable information (PII) or commercially sensitive data from a PostgreSQL database";
};
}