From 5c16ebad93bf4fa481855797d4edc0efff0ae31d Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 16 Oct 2021 01:00:25 -0500 Subject: [PATCH] pgformatter: 5.0 -> 5.1 https://github.com/darold/pgFormatter/releases/tag/v5.1 --- pkgs/development/tools/pgformatter/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/pgformatter/default.nix b/pkgs/development/tools/pgformatter/default.nix index 26d7063c81f2..6c0465c1cf35 100644 --- a/pkgs/development/tools/pgformatter/default.nix +++ b/pkgs/development/tools/pgformatter/default.nix @@ -2,19 +2,22 @@ perlPackages.buildPerlPackage rec { pname = "pgformatter"; - version = "5.0"; + version = "5.1"; src = fetchFromGitHub { owner = "darold"; repo = "pgFormatter"; rev = "v${version}"; - sha256 = "10ml3va6ip501ibaykbhq8282y1j6r8bc8azc1gqxskk5jvfz1jm"; + sha256 = "1a6rmph96s7c8lpmpkizcvdf0x4jlsr5iqi7qjprxqsf6zak2rfg"; }; outputs = [ "out" ]; makeMakerFlags = [ "INSTALLDIRS=vendor" ]; + # Avoid creating perllocal.pod, which contains a timestamp + installTargets = [ "pure_install" ]; + # Makefile.PL only accepts DESTDIR and INSTALLDIRS, but we need to set more to make this work for NixOS. patchPhase = '' substituteInPlace pg_format \