courier-prime: init at unstable-2019-12-05 (#119190)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
austinbutler 2021-04-15 14:30:38 -07:00 committed by GitHub
parent 6de0cfabf9
commit 6d22c59434
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ 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;
};
}

View file

@ -20990,6 +20990,8 @@ in
corefonts = callPackage ../data/fonts/corefonts { };
courier-prime = callPackage ../data/fonts/courier-prime { };
cozette = callPackage ../data/fonts/cozette { };
culmus = callPackage ../data/fonts/culmus { };