mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
commit
5d09892ef7
@ -1,31 +1,45 @@
|
||||
{ lib, stdenv, fetchurl, pkg-config, libnl }:
|
||||
{
|
||||
lib,
|
||||
fetchurl,
|
||||
libnl,
|
||||
pkg-config,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "iw";
|
||||
version = "5.19";
|
||||
version = "6.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.kernel.org/pub/software/network/${pname}/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-8We76UfdU7uevAwdzvXbatc6wdYITyxvk3bFw2DMTU4=";
|
||||
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";
|
||||
mainProgram = "iw";
|
||||
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.
|
||||
'';
|
||||
homepage = "https://wireless.wiki.kernel.org/en/users/Documentation/iw";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = with lib.maintainers; [ viric primeos ];
|
||||
platforms = with lib.platforms; linux;
|
||||
mainProgram = "iw";
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
@ -27154,8 +27154,6 @@ with pkgs;
|
||||
|
||||
itpp = callPackage ../development/libraries/science/math/itpp { };
|
||||
|
||||
iw = callPackage ../os-specific/linux/iw { };
|
||||
|
||||
iwd = callPackage ../os-specific/linux/iwd { };
|
||||
|
||||
jool-cli = callPackage ../os-specific/linux/jool/cli.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user