2024-02-29 20:09:43 +00:00
|
|
|
{ lib, stdenvNoCC, fetchurl, directoryListingUpdater }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-08-21 13:32:41 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "wireless-regdb";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "2024.07.04";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.kernel.org/pub/software/network/${pname}/${pname}-${version}.tar.xz";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-mDKhThviSr/3vjDe48mhr7X9/PR1oNkar+8Dn42F9es=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"DESTDIR=${placeholder "out"}"
|
|
|
|
"PREFIX="
|
|
|
|
];
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
passthru.updateScript = directoryListingUpdater { };
|
2024-02-07 01:22:34 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Wireless regulatory database for CRDA";
|
|
|
|
homepage = "http://wireless.kernel.org/en/developers/Regulatory/";
|
|
|
|
license = licenses.isc;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ fpletz ];
|
|
|
|
};
|
|
|
|
}
|