blob: a218f8afc79dafd8f4edd4ee760c5a6f1d9fa716 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
fetchurl,
libnl,
pkg-config,
stdenv,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "iw";
version = "6.7";
src = fetchurl {
url = "https://www.kernel.org/pub/software/network/iw/iw-${finalAttrs.version}.tar.xz";
hash = "sha256-qs9JwmaynVANcwhnmKHGUudgwZEmqFmf2BGFBDB4mjU=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libnl ];
outputs = [
"out"
"man"
];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
strictDeps = true;
meta = {
homepage = "https://wireless.wiki.kernel.org/en/users/Documentation/iw";
description = "Tool to use nl80211";
longDescription = ''
iw is a new nl80211 based CLI configuration utility for wireless devices.
It supports all new drivers that have been added to the kernel recently.
The old tool iwconfig, which uses Wireless Extensions interface, is
deprecated and it's strongly recommended to switch to iw and nl80211.
'';
license = lib.licenses.isc;
mainProgram = "iw";
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.linux;
};
})
|