postgresql: reorganize package and its extensions (#54319)

* postgresql: reorganize package and it's extensions

Extracts some useful parts of https://github.com/NixOS/nixpkgs/pull/38698,
in particular, it's vision that postgresql plugins should be namespaced.
This commit is contained in:
Danylo Hlynskyi
2019-01-26 19:46:57 +02:00
committed by GitHub
parent 841a6838ff
commit 8e985dced0
5 changed files with 119 additions and 22 deletions
+30
View File
@@ -0,0 +1,30 @@
self: super: {
pg_repack = super.callPackage ./ext/pg_repack.nix { };
pg_similarity = super.callPackage ./ext/pg_similarity.nix { };
pgroonga = super.callPackage ./ext/pgroonga.nix { };
plv8 = super.callPackage ./ext/plv8.nix {
v8 = super.callPackage ../../../development/libraries/v8/plv8_6_x.nix {
python = self.python2;
};
};
pgjwt = super.callPackage ./ext/pgjwt.nix { };
cstore_fdw = super.callPackage ./ext/cstore_fdw.nix { };
pg_hll = super.callPackage ./ext/pg_hll.nix { };
pg_cron = super.callPackage ./ext/pg_cron.nix { };
pg_topn = super.callPackage ./ext/pg_topn.nix { };
pgtap = super.callPackage ./ext/pgtap.nix { };
timescaledb = super.callPackage ./ext/timescaledb.nix { };
tsearch_extras = super.callPackage ./ext/tsearch_extras.nix { };
}