Unverified Commit ee10bed8 authored by Anthony Roussel's avatar Anthony Roussel
Browse files

pgbadger: lint with nixfmt-rfc-style

parent 59e0d4c9
Loading
Loading
Loading
Loading
+24 −4
Original line number Diff line number Diff line
{ buildPerlPackage, shortenPerlShebang, stdenv, lib, fetchFromGitHub, which, bzip2, PodMarkdown, JSONXS
, TextCSV_XS }:
{
  buildPerlPackage,
  bzip2,
  fetchFromGitHub,
  JSONXS,
  lib,
  PodMarkdown,
  shortenPerlShebang,
  stdenv,
  TextCSV_XS,
  which,
}:

buildPerlPackage rec {
  pname = "pgbadger";
  version = "12.2";

  src = fetchFromGitHub {
    owner = "darold";
    repo = "pgbadger";
@@ -25,10 +37,18 @@ buildPerlPackage rec {

  PERL_MM_OPT = "INSTALL_BASE=${placeholder "out"}";

  buildInputs = [ PodMarkdown JSONXS TextCSV_XS ];
  buildInputs = [
    JSONXS
    PodMarkdown
    TextCSV_XS
  ];

  nativeBuildInputs = lib.optionals stdenv.isDarwin [ shortenPerlShebang ];

  nativeCheckInputs = [ which bzip2 ];
  nativeCheckInputs = [
    bzip2
    which
  ];

  meta = {
    homepage = "https://github.com/darold/pgbadger";