Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 30 lines 645 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "wireless-tools"; 9 version = "30.pre9"; 10 11 src = fetchurl { 12 url = "https://hewlettpackard.github.io/wireless-tools/wireless_tools.${version}.tar.gz"; 13 sha256 = "0qscyd44jmhs4k32ggp107hlym1pcyjzihiai48xs7xzib4wbndb"; 14 }; 15 16 makeFlags = [ 17 "PREFIX=${placeholder "out"}" 18 "CC:=$(CC)" 19 "AR:=$(AR)" 20 "RANLIB:=$(RANLIB)" 21 "LDCONFIG=:" 22 ]; 23 24 meta = { 25 description = "Wireless tools for Linux"; 26 homepage = "https://hewlettpackard.github.io/wireless-tools/Tools.html"; 27 platforms = lib.platforms.linux; 28 license = lib.licenses.gpl2Only; 29 }; 30}