mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
cebc43403a
The added fonts are - Caladea, - Carlito, - Comfortaa, - Comic Relief, - Crimson, - Fantasque Sans Mono, - Lobster Two, - Pecita, - Quattrocento, and - Quattrocento Sans.
29 lines
787 B
Nix
29 lines
787 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "crimson-${version}";
|
|
version = "2014.10";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/skosch/Crimson/archive/fonts-october2014.tar.gz";
|
|
sha256 = "0qyihrhqb89vwg9cfpaf5xqmcjvs4r4614bxy634vmqv9v1bzn5b";
|
|
};
|
|
|
|
phases = ["unpackPhase" "installPhase"];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/fonts/opentype
|
|
mkdir -p $out/share/doc/${name}
|
|
cp -v "Desktop Fonts/OTF/"*.otf $out/share/fonts/opentype
|
|
cp -v README.md $out/share/doc/${name}
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://aldusleaf.org/crimson.html;
|
|
description = "A font family inspired by beautiful oldstyle typefaces";
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
maintainers = [maintainers.rycee];
|
|
};
|
|
}
|