9fb8020e4e
This will probably be mandatory soon, and is a step in the right direction. Removes the deprecated meta.version, and move some meta sections to the end of the file where I should have put them in the first place.
27 lines
707 B
Nix
27 lines
707 B
Nix
{ stdenv, fetchgit }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "wireless-regdb-${version}";
|
|
version = "2015-12-14";
|
|
|
|
src = fetchgit {
|
|
sha256 = "1ldfcxn3mdb104czy78b7nj1clsbfp8fc6mshix98zq0bg4k7rsm";
|
|
url = https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git;
|
|
rev = "refs/tags/master-${version}";
|
|
};
|
|
|
|
phases = [ "unpackPhase" "installPhase" ];
|
|
|
|
makeFlags = [
|
|
"DESTDIR=$(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; [ nckx ];
|
|
};
|
|
}
|