parallel: 20220322 -> 20221122 (#206262)

This commit is contained in:
Felix Zieger 2023-01-22 01:53:06 +01:00 committed by GitHub
parent 9e4bcbff56
commit 610bcb9baa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "parallel";
version = "20220322";
version = "20221122";
src = fetchurl {
url = "mirror://gnu/parallel/${pname}-${version}.tar.bz2";
sha256 = "sha256-35PM9qn1Ka0hJrcEKu8EhmA+k4x3tAWTnEFwLTik5tg=";
sha256 = "sha256-qj2dIkNN8UjWk/GmIyMxoSZym2oi0vcmGxf7qa2ZU50=";
};
outputs = [ "out" "man" "doc" ];
@ -14,6 +14,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ perl procps ];
preInstall = ''
patchShebangs ./src/parallel
'';
postInstall = ''
wrapProgram $out/bin/parallel \
--prefix PATH : "${lib.makeBinPath [ procps perl coreutils ]}"