@@ -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+}