nixpkgs-suyu/pkgs/data/fonts/shrikhand/default.nix

22 lines
687 B
Nix
Raw Normal View History

{ lib, fetchzip }:
2017-03-26 22:15:16 +02:00
2017-08-10 21:43:49 +02:00
let
2017-03-26 22:15:16 +02:00
version = "2016-03-03";
2017-08-10 21:43:49 +02:00
in fetchzip {
2017-03-26 22:15:16 +02:00
name = "shrikhand-${version}";
url = "https://github.com/jonpinhorn/shrikhand/raw/c11c9b0720fba977fad7cb4f339ebacdba1d1394/build/Shrikhand-Regular.ttf";
2017-08-10 21:43:49 +02:00
postFetch = "install -D -m644 $downloadedFile $out/share/fonts/truetype/Shrikhand-Regular.ttf";
2017-03-26 22:15:16 +02:00
2017-08-10 21:43:49 +02:00
sha256 = "0s54k9cs1g2yz6lwg5gakqb12vg5qkfdz3pc8mh7mib2s6q926hs";
2017-03-26 22:15:16 +02:00
meta = with lib; {
homepage = "https://jonpinhorn.github.io/shrikhand/";
2017-03-26 22:15:16 +02:00
description = "A vibrant and playful typeface for both Latin and Gujarati writing systems";
maintainers = with maintainers; [ sternenseemann ];
platforms = platforms.all;
license = licenses.ofl;
};
}