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

22 lines
683 B
Nix
Raw Normal View History

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