2021-01-10 23:54:33 -08:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2015-12-27 09:59:07 -08:00
|
|
|
|
2016-01-24 11:31:44 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2019-03-07 14:29:45 -08:00
|
|
|
pname = "wireless-regdb";
|
2020-05-10 19:45:33 -07:00
|
|
|
version = "2020.04.29";
|
2015-12-27 09:59:07 -08:00
|
|
|
|
2017-08-26 19:20:21 -07:00
|
|
|
src = fetchurl {
|
2019-03-07 14:29:45 -08:00
|
|
|
url = "https://www.kernel.org/pub/software/network/${pname}/${pname}-${version}.tar.xz";
|
2020-05-10 19:45:33 -07:00
|
|
|
sha256 = "0yicda474ygahv8da18h1p4yf42s6x2f208mlwcw4xsrxld07zc9";
|
2015-12-27 09:59:07 -08:00
|
|
|
};
|
|
|
|
|
2017-08-26 19:20:21 -07:00
|
|
|
dontBuild = true;
|
2015-12-27 09:59:07 -08:00
|
|
|
|
|
|
|
makeFlags = [
|
2019-03-07 14:29:45 -08:00
|
|
|
"DESTDIR=${placeholder "out"}"
|
2015-12-27 09:59:07 -08:00
|
|
|
"PREFIX="
|
|
|
|
];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2015-12-27 09:59:07 -08:00
|
|
|
description = "Wireless regulatory database for CRDA";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://wireless.kernel.org/en/developers/Regulatory/";
|
2015-12-27 10:04:17 -08:00
|
|
|
license = licenses.isc;
|
2015-12-27 09:59:07 -08:00
|
|
|
platforms = platforms.all;
|
2018-01-16 13:59:13 -08:00
|
|
|
maintainers = with maintainers; [ fpletz ];
|
2015-12-27 09:59:07 -08:00
|
|
|
};
|
|
|
|
}
|