nixpkgs/pkgs/os-specific/linux/iw/default.nix

25 lines
602 B
Nix
Raw Normal View History

2012-08-11 17:54:44 +00:00
{stdenv, fetchurl, libnl, pkgconfig}:
stdenv.mkDerivation rec {
2013-11-20 18:29:21 +00:00
name = "iw-3.11";
2012-08-11 17:54:44 +00:00
src = fetchurl {
url = "https://www.kernel.org/pub/software/network/iw/${name}.tar.xz";
2013-11-20 18:29:21 +00:00
sha256 = "1zrh0pjcy0kg6n8wlr34cg3bmi3nj28rhqn5pad23a1170r2f0z9";
2012-08-11 17:54:44 +00:00
};
buildInputs = [ libnl pkgconfig ];
preBuild = "
makeFlagsArray=(PREFIX=$out)
";
meta = {
description = "Tool to use nl80211";
homepage = http://wireless.kernel.org/en/users/Documentation/iw;
license = "BSD";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}