3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #122222 from DeterminateSystems/pgbadger

pgbadger: init at 11.5
This commit is contained in:
Luke Granger-Brown 2021-06-07 03:18:59 +01:00 committed by GitHub
commit dd03217d49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ buildPerlPackage, lib, fetchFromGitHub, which, bzip2, PodMarkdown, JSONXS
, TextCSV }:
buildPerlPackage rec {
pname = "pgbadger";
version = "11.5";
src = fetchFromGitHub {
owner = "darold";
repo = "pgbadger";
rev = "98b38161ba99faae77c81d5fa47bd769c1dd750b";
sha256 = "0r01mx1922g1m56x4958cihk491zjlaijvap0i32grjmnv4s5v88";
};
postPatch = ''
patchShebangs ./pgbadger
'';
outputs = [ "out" ];
PERL_MM_OPT = "INSTALL_BASE=${placeholder "out"}";
buildInputs = [ PodMarkdown JSONXS TextCSV ];
checkInputs = [ which bzip2 ];
meta = {
homepage = "https://github.com/darold/pgbadger";
description = "A fast PostgreSQL Log Analyzer";
license = lib.licenses.postgresql;
maintainers = lib.teams.determinatesystems.members;
};
}

View file

@ -7236,6 +7236,8 @@ in
pcmsolver = callPackage ../development/libraries/pcmsolver { };
pgbadger = perlPackages.callPackage ../tools/misc/pgbadger { };
phash = callPackage ../development/libraries/phash { };
pnmixer = callPackage ../tools/audio/pnmixer { };