Merge pull request #131414 from pacien/perlpackages-sqltranslator-bin-fixes

perlPackages.SQLTranslator: fix some scripts issues
This commit is contained in:
Stig
2021-08-04 16:04:46 +02:00
committed by GitHub
+13 -1
View File
@@ -18802,7 +18802,19 @@ let
sha256 = "096fq62iphmxgcfcayg4i0wf09y1rl1ar6hrcxfqsbrsmkwlzk8a";
};
buildInputs = [ FileShareDirInstall JSONMaybeXS TestDifferences TestException XMLWriter YAML ];
propagatedBuildInputs = [ CarpClan DBI FileShareDir Moo PackageVariant ParseRecDescent TryTiny ];
propagatedBuildInputs = [ CarpClan DBI FileShareDir Moo PackageVariant ParseRecDescent TryTiny GraphViz GD ];
postPatch = ''
patchShebangs script
'';
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
postInstall = lib.optionalString stdenv.isDarwin ''
for file in $out/bin/*; do
shortenPerlShebang $file
done
'';
meta = {
description = "SQL DDL transformations and more";
license = with lib.licenses; [ artistic1 gpl1Plus ];