2015-03-12 23:14:21 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pecita-${version}";
|
2015-07-25 03:03:35 +02:00
|
|
|
version = "5.0";
|
2015-03-12 23:14:21 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pecita.eu/b/Pecita.otf";
|
2015-08-07 18:43:56 +02:00
|
|
|
sha256 = "11v5yzxa38fxpz8j3fc0v3l7py4i12avjnwrgkmd9clq9jhzk78s";
|
2015-03-12 23:14:21 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
phases = ["installPhase"];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/fonts/opentype
|
|
|
|
cp -v ${src} $out/share/fonts/opentype/Pecita.otf
|
|
|
|
'';
|
|
|
|
|
|
|
|
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];
|
|
|
|
};
|
|
|
|
}
|