nixpkgs/pkgs/data/fonts/crimson/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
763 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchFromGitHub }:
stdenvNoCC.mkDerivation rec {
pname = "crimson";
version = "2014.10";
src = fetchFromGitHub {
owner = "skosch";
repo = "Crimson";
rev = "fonts-october2014";
hash = "sha256-Wp9L77q93TRmrAr0P4iH9gm0tqFY0X/xSsuFcd19aAE=";
};
installPhase = ''
runHook preInstall
install -m444 -Dt $out/share/fonts/opentype "Desktop Fonts/OTF/"*.otf
install -m444 -Dt $out/share/doc/${pname}-${version} README.md
runHook postInstall
'';
2017-08-10 19:43:49 +00:00
meta = with lib; {
2022-02-06 10:49:14 +00:00
homepage = "https://github.com/skosch/Crimson";
description = "A font family inspired by beautiful oldstyle typefaces";
license = licenses.ofl;
platforms = platforms.all;
maintainers = [ maintainers.rycee ];
};
}