6d22c59434
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
24 lines
747 B
Nix
24 lines
747 B
Nix
{ lib, fetchzip }:
|
|
|
|
let
|
|
version = "unstable-2019-12-05";
|
|
repo = "CourierPrime";
|
|
rev = "7f6d46a766acd9391d899090de467c53fd9c9cb0";
|
|
in fetchzip rec {
|
|
name = "courier-prime-${version}";
|
|
url = "https://github.com/quoteunquoteapps/${repo}/archive/${rev}/${name}.zip";
|
|
sha256 = "1xh4pkksm6zrafhb69q4lq093q6pl245zi9qhqw3x6c1ab718704";
|
|
|
|
postFetch = ''
|
|
unzip $downloadedFile
|
|
install -m444 -Dt $out/share/fonts/truetype ${repo}-${rev}/fonts/ttf/*.ttf
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Monospaced font designed specifically for screenplays";
|
|
homepage = "https://github.com/quoteunquoteapps/CourierPrime";
|
|
license = licenses.ofl;
|
|
maintainers = [ maintainers.austinbutler ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|