mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
cbbe9f0f21
This was silently producing perl scripts with empty shebang lines, breaking a bunch of the binaries.
29 lines
778 B
Nix
29 lines
778 B
Nix
{ stdenv, fetchurl, perl
|
|
, version, sha256, patches ? []
|
|
, ...
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "patchutils";
|
|
inherit version patches;
|
|
|
|
src = fetchurl {
|
|
url = "http://cyberelk.net/tim/data/patchutils/stable/${pname}-${version}.tar.xz";
|
|
inherit sha256;
|
|
};
|
|
|
|
buildInputs = [ perl ];
|
|
hardeningDisable = [ "format" ];
|
|
|
|
doCheck = false; # fails
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Tools to manipulate patch files";
|
|
homepage = http://cyberelk.net/tim/software/patchutils;
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.all;
|
|
executables = [ "combinediff" "dehtmldiff" "editdiff" "espdiff"
|
|
"filterdiff" "fixcvsdiff" "flipdiff" "grepdiff" "interdiff" "lsdiff"
|
|
"recountdiff" "rediff" "splitdiff" "unwrapdiff" ];
|
|
};
|
|
}
|