parallel-full: init SQL and CSV support (#77619)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
co-authored by
Jörg Thalheim
parent
e727398a2d
commit
939976a929
@@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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}"
|
||||
''
|
||||
Reference in New Issue
Block a user