2024-02-06 23:45:47 +01:00
|
|
|
{ lib, stdenvNoCC, fetchurl, directoryListingUpdater }:
|
2015-12-27 18:59:07 +01:00
|
|
|
|
2022-08-12 17:51:22 +02:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2019-03-07 23:29:45 +01:00
|
|
|
pname = "wireless-regdb";
|
2024-05-09 22:49:11 +02:00
|
|
|
version = "2024.05.08";
|
2015-12-27 18:59:07 +01:00
|
|
|
|
2017-08-27 04:20:21 +02:00
|
|
|
src = fetchurl {
|
2019-03-07 23:29:45 +01:00
|
|
|
url = "https://www.kernel.org/pub/software/network/${pname}/${pname}-${version}.tar.xz";
|
2024-05-09 22:49:11 +02:00
|
|
|
hash = "sha256-mu4dhuvrs2O3FL7JQbKCDzHjt/Gkhd3J/L2ZhcfT58Q=";
|
2015-12-27 18:59:07 +01:00
|
|
|
};
|
|
|
|
|
2017-08-27 04:20:21 +02:00
|
|
|
dontBuild = true;
|
2015-12-27 18:59:07 +01:00
|
|
|
|
|
|
|
makeFlags = [
|
2019-03-07 23:29:45 +01:00
|
|
|
"DESTDIR=${placeholder "out"}"
|
2015-12-27 18:59:07 +01:00
|
|
|
"PREFIX="
|
|
|
|
];
|
|
|
|
|
2024-02-06 23:45:47 +01:00
|
|
|
passthru.updateScript = directoryListingUpdater { };
|
2024-02-03 16:40:35 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-12-27 18:59:07 +01:00
|
|
|
description = "Wireless regulatory database for CRDA";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://wireless.kernel.org/en/developers/Regulatory/";
|
2015-12-27 19:04:17 +01:00
|
|
|
license = licenses.isc;
|
2015-12-27 18:59:07 +01:00
|
|
|
platforms = platforms.all;
|
2018-01-16 22:59:13 +01:00
|
|
|
maintainers = with maintainers; [ fpletz ];
|
2015-12-27 18:59:07 +01:00
|
|
|
};
|
|
|
|
}
|