Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 28 lines 859 B view raw
1{ stdenv, fetchurl, perl }: 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 buildInputs = [ perl ]; 14 15 hardeningDisable = [ "format" ]; 16 17 doCheck = false; # fails 18 19 meta = with stdenv.lib; { 20 description = "Tools to manipulate patch files"; 21 homepage = http://cyberelk.net/tim/software/patchutils; 22 license = licenses.gpl2Plus; 23 platforms = platforms.all; 24 executables = [ "combinediff" "dehtmldiff" "editdiff" "espdiff" 25 "filterdiff" "fixcvsdiff" "flipdiff" "grepdiff" "interdiff" "lsdiff" 26 "recountdiff" "rediff" "splitdiff" "unwrapdiff" ]; 27 }; 28}