From b88abaaf5e6fbf525e29357732b1f28648b5bad2 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 27 Dec 2015 18:59:07 +0100 Subject: [PATCH] wireless-regdb: init at 2015-12-14 --- pkgs/data/misc/wireless-regdb/default.nix | 28 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/data/misc/wireless-regdb/default.nix diff --git a/pkgs/data/misc/wireless-regdb/default.nix b/pkgs/data/misc/wireless-regdb/default.nix new file mode 100644 index 000000000000..58328e9289c2 --- /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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 88dc7faced3a..eac8799e0214 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10934,6 +10934,8 @@ let vistafonts = callPackage ../data/fonts/vista-fonts { }; + wireless-regdb = callPackage ../data/misc/wireless-regdb { }; + wqy_microhei = callPackage ../data/fonts/wqy-microhei { }; wqy_zenhei = callPackage ../data/fonts/wqy-zenhei { };