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