nixpkgs/pkgs/data/fonts/pecita/default.nix
Tobias Geerinckx-Rice 161c0e7876 pecita: 1.1 -> 5.0
The upstream source file has no version component and is updated in
place.

cc maintainer @rycee.
2015-07-25 03:06:49 +02:00

26 lines
624 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "pecita-${version}";
version = "5.0";
src = fetchurl {
url = "http://pecita.eu/b/Pecita.otf";
sha256 = "1smf1mqciwavf29lwgzjam3xb37bwxp6wf6na4c9xv6islidsrd9";
};
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];
};
}