data/fonts: simpler cleanups

This commit is contained in:
Volth
2017-08-11 14:26:03 +00:00
parent 691da0cbb9
commit 31c344982f
95 changed files with 865 additions and 1088 deletions
+9 -10
View File
@@ -1,21 +1,20 @@
{stdenv, fetchurl}:
{stdenv, fetchzip}:
stdenv.mkDerivation rec {
name = "pecita-${version}";
let
version = "5.4";
in fetchzip rec {
name = "pecita-${version}";
src = fetchurl {
url = "http://archive.rycee.net/pecita/${name}.tar.xz";
sha256 = "1cqzj558ldzzsbfbvlwp5fjh2gxa03l16dki0n8z5lmrdq8hrkws";
};
url = "http://archive.rycee.net/pecita/${name}.tar.xz";
phases = ["unpackPhase" "installPhase"];
installPhase = ''
postFetch = ''
tar xJvf $downloadedFile --strip-components=1
mkdir -p $out/share/fonts/opentype
cp -v Pecita.otf $out/share/fonts/opentype/Pecita.otf
'';
sha256 = "0pwm20f38lcbfkdqkpa2ydpc9kvmdg0ifc4h2dmipsnwbcb5rfwm";
meta = with stdenv.lib; {
homepage = http://pecita.eu/police-en.php;
description = "Handwritten font with connected glyphs";