postgresqlPackages.plpgsql_check: init at 1.13.1
This commit is contained in:
parent
eb87f723bb
commit
2021a4b870
29
pkgs/servers/sql/postgresql/ext/plpgsql_check.nix
Normal file
29
pkgs/servers/sql/postgresql/ext/plpgsql_check.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, postgresql }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "plpgsql_check";
|
||||||
|
version = "1.13.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "okbob";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "19vcvfhxh0922qgibahmkyf7czniycqbzccxdw65j1ia7fd8yyc3";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ postgresql ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -D -t $out/lib *.so
|
||||||
|
install -D -t $out/share/postgresql/extension *.sql
|
||||||
|
install -D -t $out/share/postgresql/extension *.control
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Linter tool for language PL/pgSQL";
|
||||||
|
homepage = "https://github.com/okbob/plpgsql_check";
|
||||||
|
platforms = postgresql.meta.platforms;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.marsam ];
|
||||||
|
};
|
||||||
|
}
|
@ -21,6 +21,8 @@ self: super: {
|
|||||||
|
|
||||||
pgroonga = super.callPackage ./ext/pgroonga.nix { };
|
pgroonga = super.callPackage ./ext/pgroonga.nix { };
|
||||||
|
|
||||||
|
plpgsql_check = super.callPackage ./ext/plpgsql_check.nix { };
|
||||||
|
|
||||||
plv8 = super.callPackage ./ext/plv8.nix {
|
plv8 = super.callPackage ./ext/plv8.nix {
|
||||||
v8 = super.callPackage ../../../development/libraries/v8/plv8_6_x.nix {
|
v8 = super.callPackage ../../../development/libraries/v8/plv8_6_x.nix {
|
||||||
python = self.python2;
|
python = self.python2;
|
||||||
|
Loading…
Reference in New Issue
Block a user