diff options
author | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-12-27 18:59:07 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-12-27 19:00:42 +0100 |
commit | b88abaaf5e6fbf525e29357732b1f28648b5bad2 (patch) | |
tree | 488c77a172de68419b8b4c20e4f2c994dfda69d4 /pkgs/data/misc | |
parent | 3570bc30affa9b72c67e2f56d5de1cf9d9c42b7e (diff) |
wireless-regdb: init at 2015-12-14
Diffstat (limited to 'pkgs/data/misc')
-rw-r--r-- | pkgs/data/misc/wireless-regdb/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/data/misc/wireless-regdb/default.nix b/pkgs/data/misc/wireless-regdb/default.nix new file mode 100644 index 0000000000000..58328e9289c29 --- /dev/null +++ b/pkgs/data/misc/wireless-regdb/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchgit }: + +let version = "2015-12-14"; in +stdenv.mkDerivation { + name = "wireless-regdb-${version}"; + + 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; { + inherit version; + description = "Wireless regulatory database for CRDA"; + homepage = https://git.kernel.org/cgit/linux/kernel/git/sforshee/wireless-regdb.git/; + license = licenses.free; + platforms = platforms.all; + maintainers = with maintainers; [ nckx ]; + }; +} |