2012-08-11 21:54:44 +04:00
|
|
|
{stdenv, fetchurl, libnl, pkgconfig}:
|
|
|
|
|
2013-06-02 16:31:56 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2016-04-13 05:53:24 +03:00
|
|
|
name = "iw-4.3";
|
2012-08-11 21:54:44 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-06-02 16:31:56 +04:00
|
|
|
url = "https://www.kernel.org/pub/software/network/iw/${name}.tar.xz";
|
2016-04-13 05:53:24 +03:00
|
|
|
sha256 = "085jyvrxzarvn5jl0fk618jjxy50nqx7ifngszc4jxk6a4ddibd6";
|
2012-08-11 21:54:44 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libnl pkgconfig ];
|
|
|
|
|
2015-06-09 03:41:10 +03:00
|
|
|
makeFlags = [ "PREFIX=\${out}" ];
|
2012-08-11 21:54:44 +04:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Tool to use nl80211";
|
|
|
|
homepage = http://wireless.kernel.org/en/users/Documentation/iw;
|
2014-12-21 02:00:35 +03:00
|
|
|
license = stdenv.lib.licenses.isc;
|
2012-08-11 21:54:44 +04:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|