at v206 762 B view raw
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 meta = with stdenv.lib; { 14 description = "Tools to manipulate patch files"; 15 homepage = http://cyberelk.net/tim/software/patchutils; 16 license = licenses.gpl2Plus; 17 platforms = platforms.all; 18 executables = [ "combinediff" "dehtmldiff" "editdiff" "espdiff" 19 "filterdiff" "fixcvsdiff" "flipdiff" "grepdiff" "interdiff" "lsdiff" 20 "recountdiff" "rediff" "splitdiff" "unwrapdiff" ]; 21 }; 22}