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