git.iko.soy/typeable/nixpkgs
on master help sign in
courier-prime: init at unstable-2019-12-05 (#119190)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

commit6d22c594347dad7b295908cdd8c286095ed9654d authoraustinbutler <austinbutler@users.noreply.github.com> dateThu 15 Apr 2021, 14:30 (6 years ago) parent6de0cfa
2 files changed+26
pkgs/data/fonts/courier-prime/default.nix+24 pkgs/top-level/all-packages.nix+2
pkgs/data/fonts/courier-prime/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ lib, fetchzip }:
2+
3+let
4+ version = "unstable-2019-12-05";
5+ repo = "CourierPrime";
6+ rev = "7f6d46a766acd9391d899090de467c53fd9c9cb0";
7+in fetchzip rec {
8+ name = "courier-prime-${version}";
9+ url = "https://github.com/quoteunquoteapps/${repo}/archive/${rev}/${name}.zip";
10+ sha256 = "1xh4pkksm6zrafhb69q4lq093q6pl245zi9qhqw3x6c1ab718704";
11+
12+ postFetch = ''
13+ unzip $downloadedFile
14+ install -m444 -Dt $out/share/fonts/truetype ${repo}-${rev}/fonts/ttf/*.ttf
15+ '';
16+
17+ meta = with lib; {
18+ description = "Monospaced font designed specifically for screenplays";
19+ homepage = "https://github.com/quoteunquoteapps/CourierPrime";
20+ license = licenses.ofl;
21+ maintainers = [ maintainers.austinbutler ];
22+ platforms = platforms.all;
23+ };
24+}
pkgs/top-level/all-packages.nix+2
@@ -20990,6 +20990,8 @@ in
2099020990
2099120991 corefonts = callPackage ../data/fonts/corefonts { };
2099220992
20993+ courier-prime = callPackage ../data/fonts/courier-prime { };
20994+
2099320995 cozette = callPackage ../data/fonts/cozette { };
2099420996
2099520997 culmus = callPackage ../data/fonts/culmus { };