2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchurl }:
|
2015-03-12 22:14:21 +00:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
let
|
2016-11-16 22:15:50 +00:00
|
|
|
version = "5.4";
|
2018-09-07 22:37:31 +01:00
|
|
|
in
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
fetchurl {
|
2017-08-10 20:43:49 +01:00
|
|
|
name = "pecita-${version}";
|
2015-03-12 22:14:21 +00:00
|
|
|
|
2018-09-07 22:37:31 +01:00
|
|
|
url = "http://pecita.eu/b/Pecita.otf";
|
|
|
|
|
|
|
|
downloadToTemp = true;
|
2015-03-12 22:14:21 +00:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
postFetch = ''
|
2015-03-12 22:14:21 +00:00
|
|
|
mkdir -p $out/share/fonts/opentype
|
2018-09-07 22:37:31 +01:00
|
|
|
cp -v $downloadedFile $out/share/fonts/opentype/Pecita.otf
|
2015-03-12 22:14:21 +00:00
|
|
|
'';
|
|
|
|
|
2018-09-07 22:37:31 +01:00
|
|
|
recursiveHash = true;
|
2017-08-10 20:43:49 +01:00
|
|
|
sha256 = "0pwm20f38lcbfkdqkpa2ydpc9kvmdg0ifc4h2dmipsnwbcb5rfwm";
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01: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;
|
|
|
|
maintainers = [maintainers.rycee];
|
|
|
|
};
|
|
|
|
}
|