2019-08-31 17:56:10 +02:00
|
|
|
{ stdenv, fetchurl, perl
|
2019-04-13 23:09:44 +02:00
|
|
|
, version, sha256, patches ? []
|
|
|
|
, ...
|
|
|
|
}:
|
2014-05-08 14:59:42 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-04-13 23:09:44 +02:00
|
|
|
pname = "patchutils";
|
|
|
|
inherit version patches;
|
2008-07-19 01:36:28 +02:00
|
|
|
|
2010-07-28 13:55:54 +02:00
|
|
|
src = fetchurl {
|
2019-04-13 23:09:44 +02:00
|
|
|
url = "http://cyberelk.net/tim/data/patchutils/stable/${pname}-${version}.tar.xz";
|
|
|
|
inherit sha256;
|
2008-07-19 01:36:28 +02:00
|
|
|
};
|
|
|
|
|
2019-08-31 17:56:10 +02:00
|
|
|
buildInputs = [ perl ];
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-07 16:07:42 +01:00
|
|
|
|
2018-04-25 05:20:18 +02:00
|
|
|
doCheck = false; # fails
|
|
|
|
|
2014-05-17 07:27:29 +02:00
|
|
|
meta = with stdenv.lib; {
|
2010-07-28 13:55:54 +02:00
|
|
|
description = "Tools to manipulate patch files";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://cyberelk.net/tim/software/patchutils";
|
2014-05-17 07:27:29 +02:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.all;
|
2010-07-28 13:55:54 +02:00
|
|
|
executables = [ "combinediff" "dehtmldiff" "editdiff" "espdiff"
|
|
|
|
"filterdiff" "fixcvsdiff" "flipdiff" "grepdiff" "interdiff" "lsdiff"
|
|
|
|
"recountdiff" "rediff" "splitdiff" "unwrapdiff" ];
|
2008-07-19 01:36:28 +02:00
|
|
|
};
|
|
|
|
}
|