nixpkgs-suyu/pkgs/tools/text/patchutils/generic.nix

29 lines
780 B
Nix
Raw Normal View History

{ stdenv, fetchurl, perl
2019-04-13 23:09:44 +02:00
, version, sha256, patches ? []
, ...
}:
stdenv.mkDerivation rec {
2019-04-13 23:09:44 +02:00
pname = "patchutils";
inherit version patches;
src = fetchurl {
2019-04-13 23:09:44 +02:00
url = "http://cyberelk.net/tim/data/patchutils/stable/${pname}-${version}.tar.xz";
inherit sha256;
};
buildInputs = [ perl ];
hardeningDisable = [ "format" ];
2016-02-07 16:07:42 +01:00
doCheck = false; # fails
meta = with stdenv.lib; {
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" ];
};
}