2015-03-12 22:14:21 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pecita-${version}";
|
2016-05-08 12:16:38 +01:00
|
|
|
version = "5.3";
|
2015-03-12 22:14:21 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-09-11 23:52:32 +01:00
|
|
|
url = "http://archive.rycee.net/pecita/${name}.tar.xz";
|
2016-05-08 12:16:38 +01:00
|
|
|
sha256 = "1glr21gi1b9db17ln8qn4zk9gwpxs0frm76i4hp3anlpivbwiis8";
|
2015-03-12 22:14:21 +00:00
|
|
|
};
|
|
|
|
|
2015-09-11 23:52:32 +01:00
|
|
|
phases = ["unpackPhase" "installPhase"];
|
2015-03-12 22:14:21 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/fonts/opentype
|
2015-09-11 23:52:32 +01:00
|
|
|
cp -v Pecita.otf $out/share/fonts/opentype/Pecita.otf
|
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];
|
|
|
|
};
|
|
|
|
}
|