2010-07-28 04:55:54 -07:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2014-05-08 05:59:42 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2017-04-23 09:02:25 -07:00
|
|
|
name = "patchutils-0.3.3";
|
2008-07-18 16:36:28 -07:00
|
|
|
|
2010-07-28 04:55:54 -07:00
|
|
|
src = fetchurl {
|
2014-05-08 05:59:42 -07:00
|
|
|
url = "http://cyberelk.net/tim/data/patchutils/stable/${name}.tar.xz";
|
2017-04-23 09:02:25 -07:00
|
|
|
sha256 = "0g5df00cj4nczrmr4k791l7la0sq2wnf8rn981fsrz1f3d2yix4i";
|
2008-07-18 16:36:28 -07:00
|
|
|
};
|
|
|
|
|
2017-04-23 09:02:15 -07:00
|
|
|
patches = [ ./drop-comments.patch ]; # we would get into a cycle when using fetchpatch on this one
|
|
|
|
|
2016-02-26 09:38:15 -08:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-07 07:07:42 -08:00
|
|
|
|
2018-04-24 20:20:18 -07:00
|
|
|
doCheck = false; # fails
|
|
|
|
|
2014-05-16 22:27:29 -07:00
|
|
|
meta = with stdenv.lib; {
|
2010-07-28 04:55:54 -07:00
|
|
|
description = "Tools to manipulate patch files";
|
|
|
|
homepage = http://cyberelk.net/tim/software/patchutils;
|
2014-05-16 22:27:29 -07:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.all;
|
2010-07-28 04:55:54 -07:00
|
|
|
executables = [ "combinediff" "dehtmldiff" "editdiff" "espdiff"
|
|
|
|
"filterdiff" "fixcvsdiff" "flipdiff" "grepdiff" "interdiff" "lsdiff"
|
|
|
|
"recountdiff" "rediff" "splitdiff" "unwrapdiff" ];
|
2008-07-18 16:36:28 -07:00
|
|
|
};
|
|
|
|
}
|