nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 28 lines 778 B view raw
1{ stdenv, fetchurl, perl 2, version, sha256, patches ? [] 3, ... 4}: 5stdenv.mkDerivation rec { 6 pname = "patchutils"; 7 inherit version patches; 8 9 src = fetchurl { 10 url = "http://cyberelk.net/tim/data/patchutils/stable/${pname}-${version}.tar.xz"; 11 inherit sha256; 12 }; 13 14 buildInputs = [ perl ]; 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}