2023-01-28 07:27:25 +01:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2018-10-13 23:19:21 +02:00
|
|
|
|
2023-01-28 07:27:25 +01: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
|
|
|
|
2023-01-28 07:27:25 +01: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
|
|
|
|
2019-05-13 03:55:32 +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!
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
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 ];
|
|
|
|
};
|
2023-01-28 07:27:25 +01:00
|
|
|
}
|