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