nixpkgs-suyu/pkgs/data/fonts/weather-icons/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
953 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchzip }:
2018-10-13 23:19:21 +02:00
stdenvNoCC.mkDerivation rec {
pname = "weather-icons";
2021-08-07 22:14:51 +02:00
version = "2.0.12";
2018-10-13 23:19:21 +02:00
src = fetchzip {
url = "https://github.com/erikflowers/weather-icons/archive/refs/tags/${version}.zip";
hash = "sha256-0ZFH2awUo4BkTpK1OsWZ4YKczJHo+HHM6ezGBJAmT+U=";
};
installPhase = ''
runHook preInstall
install -Dm644 _docs/font-source/weathericons-regular.otf -t $out/share/fonts/opentype
runHook postInstall
'';
2018-10-13 23:19:21 +02:00
meta = with lib; {
2018-10-13 23:19:21 +02:00
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/";
2018-10-13 23:19:21 +02:00
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ pnelson ];
};
}