diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index e7756f0bff1..d1606b689f8 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3319,6 +3319,11 @@ github = "pmyjavec"; name = "Pauly Myjavec"; }; + pnelson = { + email = "me@pnelson.ca"; + github = "pnelson"; + name = "Philip Nelson"; + }; pneumaticat = { email = "kevin@potatofrom.space"; github = "pneumaticat"; diff --git a/pkgs/data/fonts/weather-icons/default.nix b/pkgs/data/fonts/weather-icons/default.nix new file mode 100644 index 00000000000..8d818d21923 --- /dev/null +++ b/pkgs/data/fonts/weather-icons/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchzip }: + +let + version = "2.0.10"; +in fetchzip rec { + name = "weather-icons-${version}"; + + url = "https://github.com/erikflowers/weather-icons/archive/${version}.zip"; + + postFetch = '' + mkdir -p $out/share/fonts + unzip -j $downloadedFile weather-icons-${version}/_docs/font-source/weathericons-regular.otf -d $out/share/fonts/opentype + ''; + + sha256 = "10zny9987wybq55sm803hrjkp33dq1lgmnxc15kssr8yb81g6qrl"; + + meta = with stdenv.lib; { + description = "Weather Icons"; + longDescription = '' + Weather Icons is the only icon font and CSS with 222 weather themed icons, + ready to be dropped right into Bootstrap, or any project that needs high + quality weather, maritime, and meteorological based icons! + ''; + homepage = https://erikflowers.github.io/weather-icons/; + license = licenses.ofl; + platforms = platforms.all; + maintainers = with maintainers; [ pnelson ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8f4bc519285..09c0bcbaaa4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15463,6 +15463,8 @@ with pkgs; vistafonts-chs = callPackage ../data/fonts/vista-fonts-chs { }; + weather-icons = callPackage ../data/fonts/weather-icons { }; + wireless-regdb = callPackage ../data/misc/wireless-regdb { }; wqy_microhei = callPackage ../data/fonts/wqy-microhei { };