1{
2 cargo-pgrx_0_16_0,
3 jitSupport,
4 lib,
5 nixosTests,
6 pg-dump-anon,
7 postgresql,
8 buildPgrxExtension,
9 runtimeShell,
10}:
11
12buildPgrxExtension {
13 pname = "postgresql_anonymizer";
14
15 inherit (pg-dump-anon) version src;
16
17 inherit postgresql;
18 cargo-pgrx = cargo-pgrx_0_16_0;
19 cargoHash = "sha256-Z1uH6Z2qLV1Axr8dXqPznuEZcacAZnv11tb3lWBh1yw=";
20
21 # Tries to copy extension into postgresql's store path.
22 doCheck = false;
23
24 passthru.tests = nixosTests.postgresql.anonymizer.passthru.override postgresql;
25
26 meta = lib.getAttrs [ "homepage" "teams" "license" ] pg-dump-anon.meta // {
27 description = "Extension to mask or replace personally identifiable information (PII) or commercially sensitive data from a PostgreSQL database";
28 };
29}