Files
nixpkgs/pkgs/tools/text/patchutils/default.nix
T

25 lines
798 B
Nix
Raw Normal View History

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