summary refs log tree commit diff
path: root/pkgs/os-specific/linux/wireless-tools/default.nix
blob: e95506461a4bdaf4afd6b5dbfd9a9ecaf1094044 (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
{lib, stdenv, fetchurl}:

stdenv.mkDerivation rec {
  pname = "wireless-tools";
  version = "30.pre9";

  src = fetchurl {
    url = "https://hewlettpackard.github.io/wireless-tools/wireless_tools.${version}.tar.gz";
    sha256 = "0qscyd44jmhs4k32ggp107hlym1pcyjzihiai48xs7xzib4wbndb";
  };

  makeFlags = [
    "PREFIX=${placeholder "out"}"
    "CC:=$(CC)"
    "AR:=$(AR)"
    "RANLIB:=$(RANLIB)"
    "LDCONFIG=:"
  ];

  meta = {
    description = "Wireless tools for Linux";
    homepage = "https://hewlettpackard.github.io/wireless-tools/Tools.html";
    platforms = lib.platforms.linux;
    license = lib.licenses.gpl2;
  };
}