nixpkgs/pkgs/tools/system/which/default.nix

20 lines
442 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
2015-03-26 05:42:36 +00:00
stdenv.mkDerivation rec {
name = "which-2.21";
src = fetchurl {
2015-03-26 05:42:36 +00:00
url = "mirror://gnu/which/${name}.tar.gz";
sha256 = "1bgafvy3ypbhhfznwjv1lxmd6mci3x1byilnnkc7gcr486wlb8pl";
};
# FIXME needs gcc 4.9 in bootstrap tools
hardeningDisable = [ "stackprotector" ];
2015-03-26 05:42:36 +00:00
meta = with stdenv.lib; {
homepage = http://ftp.gnu.org/gnu/which/;
2015-03-26 05:42:36 +00:00
platforms = platforms.all;
license = licenses.gpl3;
};
}