mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 17:10:48 +00:00
ab3eeabfed
Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs" sounds like an imperative rather than a noun phrase.
21 lines
564 B
Nix
21 lines
564 B
Nix
{ stdenv, fetchurl, coreutils ? null }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "diffutils-3.2";
|
|
|
|
src = fetchurl {
|
|
url = mirror://gnu/diffutils/diffutils-3.2.tar.gz;
|
|
sha256 = "1lsf0ln0h3mnm2y0mwgrfk0lyfi7bnm4r886acvdrrsvc7pypaia";
|
|
};
|
|
|
|
patches = [ ./gets-undeclared.patch ];
|
|
|
|
/* If no explicit coreutils is given, use the one from stdenv. */
|
|
nativeBuildInputs = [ coreutils ];
|
|
|
|
meta = {
|
|
homepage = http://www.gnu.org/software/diffutils/diffutils.html;
|
|
description = "Commands for showing the differences between files (diff, cmp, etc.)";
|
|
};
|
|
}
|