{ stdenv, fetchurl }: stdenv.mkDerivation rec { pname = "wireless-regdb"; version = "2019.03.01"; src = fetchurl { url = "https://www.kernel.org/pub/software/network/${pname}/${pname}-${version}.tar.xz"; sha256 = "0pwipig8bik1gca440hfv0xa23bi49jfiqc69xvcb6sr0rq6ykis"; }; dontBuild = true; makeFlags = [ "DESTDIR=${placeholder "out"}" "PREFIX=" ]; meta = with stdenv.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 ]; }; }