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