2015-03-12 23:14:21 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pecita-${version}";
|
2015-09-07 23:28:20 +02:00
|
|
|
version = "5.2";
|
2015-03-12 23:14:21 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-09-12 00:52:32 +02:00
|
|
|
url = "http://archive.rycee.net/pecita/${name}.tar.xz";
|
|
|
|
sha256 = "0ryfvxdla5iinwwin4dc1k89hk1bjq2mfdrrv67q6fdgz41l0qf0";
|
2015-03-12 23:14:21 +01:00
|
|
|
};
|
|
|
|
|
2015-09-12 00:52:32 +02:00
|
|
|
phases = ["unpackPhase" "installPhase"];
|
2015-03-12 23:14:21 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/fonts/opentype
|
2015-09-12 00:52:32 +02:00
|
|
|
cp -v Pecita.otf $out/share/fonts/opentype/Pecita.otf
|
2015-03-12 23:14:21 +01: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];
|
|
|
|
};
|
|
|
|
}
|