parallel-full: init SQL and CSV support (#77619)

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
tomberek
2020-04-03 09:49:28 +01:00
committed by GitHub
co-authored by Jörg Thalheim
parent e727398a2d
commit 939976a929
4 changed files with 46 additions and 1 deletions
+1 -1
View File
@@ -42,6 +42,6 @@ stdenv.mkDerivation rec {
homepage = "https://www.gnu.org/software/parallel/";
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = with maintainers; [ pSub vrthra ];
maintainers = with maintainers; [ pSub vrthra tomberek ];
};
}
+13
View File
@@ -0,0 +1,13 @@
{ parallel, makeWrapper , runCommand
, perlPackages
, extraPerlPackages ?
with perlPackages; [ DBI DBDPg DBDSQLite DBDCSV TextCSV ]
}:
runCommand "parallel-full" {
nativeBuildInputs = [ makeWrapper ];
} ''
mkdir -p $out/bin
makeWrapper ${parallel}/bin/parallel $out/bin/parallel \
--set PERL5LIB "${perlPackages.makeFullPerlPath extraPerlPackages}"
''