2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "crimson";
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "2014.10";
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "skosch";
|
|
|
|
repo = "Crimson";
|
|
|
|
rev = "fonts-october2014";
|
|
|
|
hash = "sha256-Wp9L77q93TRmrAr0P4iH9gm0tqFY0X/xSsuFcd19aAE=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
install -m444 -Dt $out/share/fonts/opentype "Desktop Fonts/OTF/"*.otf
|
2023-02-02 18:25:31 +00:00
|
|
|
install -m444 -Dt $out/share/doc/${pname}-${version} README.md
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2022-02-10 20:34:41 +00:00
|
|
|
homepage = "https://github.com/skosch/Crimson";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A font family inspired by beautiful oldstyle typefaces";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
2023-02-02 18:25:31 +00:00
|
|
|
maintainers = [ maintainers.rycee ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|