1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 name = "patchutils-0.3.3";
5
6 src = fetchurl {
7 url = "http://cyberelk.net/tim/data/patchutils/stable/${name}.tar.xz";
8 sha256 = "0g5df00cj4nczrmr4k791l7la0sq2wnf8rn981fsrz1f3d2yix4i";
9 };
10
11 patches = [ ./drop-comments.patch ]; # we would get into a cycle when using fetchpatch on this one
12
13 hardeningDisable = [ "format" ];
14
15 doCheck = false; # fails
16
17 meta = with stdenv.lib; {
18 description = "Tools to manipulate patch files";
19 homepage = http://cyberelk.net/tim/software/patchutils;
20 license = licenses.gpl2Plus;
21 platforms = platforms.all;
22 executables = [ "combinediff" "dehtmldiff" "editdiff" "espdiff"
23 "filterdiff" "fixcvsdiff" "flipdiff" "grepdiff" "interdiff" "lsdiff"
24 "recountdiff" "rediff" "splitdiff" "unwrapdiff" ];
25 };
26}