2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl
|
2020-04-24 23:36:52 +00:00
|
|
|
, version, sha256, patches ? []
|
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "patchutils";
|
|
|
|
inherit version patches;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://cyberelk.net/tim/data/patchutils/stable/${pname}-${version}.tar.xz";
|
|
|
|
inherit sha256;
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
|
|
|
doCheck = false; # fails
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Tools to manipulate patch files";
|
|
|
|
homepage = "http://cyberelk.net/tim/software/patchutils";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.all;
|
|
|
|
executables = [ "combinediff" "dehtmldiff" "editdiff" "espdiff"
|
|
|
|
"filterdiff" "fixcvsdiff" "flipdiff" "grepdiff" "interdiff" "lsdiff"
|
|
|
|
"recountdiff" "rediff" "splitdiff" "unwrapdiff" ];
|
|
|
|
};
|
|
|
|
}
|