2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchzip }:
|
|
|
|
|
|
|
|
let
|
|
|
|
version = "2014.10";
|
|
|
|
in fetchzip rec {
|
|
|
|
name = "crimson-${version}";
|
|
|
|
|
|
|
|
url = "https://github.com/skosch/Crimson/archive/fonts-october2014.tar.gz";
|
|
|
|
|
|
|
|
postFetch = ''
|
|
|
|
tar -xzvf $downloadedFile --strip-components=1
|
|
|
|
install -m444 -Dt $out/share/fonts/opentype "Desktop Fonts/OTF/"*.otf
|
|
|
|
install -m444 -Dt $out/share/doc/${name} README.md
|
|
|
|
'';
|
|
|
|
|
|
|
|
sha256 = "0mg65f0ydyfmb43jqr1f34njpd10w8npw15cbb7z0nxmy4nkl842";
|
|
|
|
|
|
|
|
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;
|
|
|
|
maintainers = [maintainers.rycee];
|
|
|
|
};
|
|
|
|
}
|