3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/pecita/default.nix

26 lines
631 B
Nix
Raw Normal View History

2017-08-10 20:43:49 +01:00
{stdenv, fetchzip}:
2017-08-10 20:43:49 +01:00
let
2016-11-16 22:15:50 +00:00
version = "5.4";
2017-08-10 20:43:49 +01:00
in fetchzip rec {
name = "pecita-${version}";
2017-08-10 20:43:49 +01:00
url = "http://archive.rycee.net/pecita/${name}.tar.xz";
2017-08-10 20:43:49 +01:00
postFetch = ''
tar xJvf $downloadedFile --strip-components=1
mkdir -p $out/share/fonts/opentype
cp -v Pecita.otf $out/share/fonts/opentype/Pecita.otf
'';
2017-08-10 20:43:49 +01: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];
};
}