2023-01-30 12:22:54 +00:00
|
|
|
{ lib, stdenvNoCC, fetchurl }:
|
2015-03-12 22:14:21 +00:00
|
|
|
|
2023-01-30 12:22:54 +00:00
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
pname = "pecita";
|
2016-11-16 22:15:50 +00:00
|
|
|
version = "5.4";
|
2018-09-07 21:37:31 +00:00
|
|
|
|
2023-01-30 12:22:54 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pecita.eu/b/Pecita.otf";
|
|
|
|
hash = "sha256-D9IZ+p4UFHUNt9me7D4vv0x6rMK9IaViKPliCEyX6t4=";
|
|
|
|
};
|
2015-03-12 22:14:21 +00:00
|
|
|
|
2023-01-30 12:22:54 +00:00
|
|
|
dontUnpack = true;
|
2018-09-07 21:37:31 +00:00
|
|
|
|
2023-01-30 12:22:54 +00:00
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2015-03-12 22:14:21 +00:00
|
|
|
|
|
|
|
mkdir -p $out/share/fonts/opentype
|
2023-01-30 12:22:54 +00:00
|
|
|
cp -v $src $out/share/fonts/opentype/Pecita.otf
|
2015-03-12 22:14:21 +00:00
|
|
|
|
2023-01-30 12:22:54 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
2017-08-10 19:43:49 +00:00
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://pecita.eu/police-en.php";
|
2015-03-12 22:14:21 +00:00
|
|
|
description = "Handwritten font with connected glyphs";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
2023-01-30 12:22:54 +00:00
|
|
|
maintainers = [ maintainers.rycee ];
|
2015-03-12 22:14:21 +00:00
|
|
|
};
|
|
|
|
}
|