1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/data/fonts/pecita/default.nix

32 lines
624 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
2017-08-10 15:43:49 -04:00
let
2016-11-16 17:15:50 -05:00
version = "5.4";
in
fetchurl rec {
2017-08-10 15:43:49 -04:00
name = "pecita-${version}";
url = "http://pecita.eu/b/Pecita.otf";
downloadToTemp = true;
2017-08-10 15:43:49 -04:00
postFetch = ''
mkdir -p $out/share/fonts/opentype
cp -v $downloadedFile $out/share/fonts/opentype/Pecita.otf
'';
recursiveHash = true;
2017-08-10 15:43:49 -04:00
sha256 = "0pwm20f38lcbfkdqkpa2ydpc9kvmdg0ifc4h2dmipsnwbcb5rfwm";
meta = with stdenv.lib; {
homepage = http://pecita.eu/police-en.php;
description = "Handwritten font with connected glyphs";
license = licenses.ofl;
platforms = platforms.all;
maintainers = [maintainers.rycee];
};
}