depot/third_party/nixpkgs/pkgs/data/misc/wireless-regdb/default.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

33 lines
830 B
Nix

{ lib, stdenvNoCC, fetchurl, directoryListingUpdater, crda }:
stdenvNoCC.mkDerivation rec {
pname = "wireless-regdb";
version = "2023.09.01";
src = fetchurl {
url = "https://www.kernel.org/pub/software/network/${pname}/${pname}-${version}.tar.xz";
hash = "sha256-JtTCpyfMWSObhHNarYVrfH0LBOMKpcI1xPf0f18FNJE=";
};
dontBuild = true;
makeFlags = [
"DESTDIR=${placeholder "out"}"
"PREFIX="
];
passthru = {
tests = {
inherit crda; # validate data base signature
};
updateScript = directoryListingUpdater { };
};
meta = with lib; {
description = "Wireless regulatory database for CRDA";
homepage = "http://wireless.kernel.org/en/developers/Regulatory/";
license = licenses.isc;
platforms = platforms.all;
maintainers = with maintainers; [ fpletz ];
};
}