mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
cebc43403a
The added fonts are - Caladea, - Carlito, - Comfortaa, - Comic Relief, - Crimson, - Fantasque Sans Mono, - Lobster Two, - Pecita, - Quattrocento, and - Quattrocento Sans.
30 lines
811 B
Nix
30 lines
811 B
Nix
{stdenv, fetchurl, unzip}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "quattrocento-${version}";
|
|
version = "1.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.impallari.com/media/releases/quattrocento-v${version}.zip";
|
|
sha256 = "09wmbfwkry1r2cf5z4yy67wd4yzlnsjigg01r5r80z1phl0axn9n";
|
|
};
|
|
|
|
buildInputs = [unzip];
|
|
phases = ["unpackPhase" "installPhase"];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/fonts/opentype
|
|
mkdir -p $out/share/doc/${name}
|
|
cp -v "src/"*.otf $out/share/fonts/opentype
|
|
cp -v FONTLOG.txt $out/share/doc/${name}
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://www.impallari.com/quattrocento/;
|
|
description = "A classic, elegant, sober and strong serif typeface";
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
maintainers = [maintainers.rycee];
|
|
};
|
|
}
|