@@ -0,0 +1,27 @@
1+{ lib, fetchurl }:
2+
3+let
4+ pname = "cascadia-code";
5+ version = "1909.16";
6+in
7+fetchurl {
8+ name = "${pname}-${version}";
9+ url = "https://github.com/microsoft/cascadia-code/releases/download/v${version}/Cascadia.ttf";
10+
11+ downloadToTemp = true;
12+ recursiveHash = true;
13+
14+ postFetch = ''
15+ install -Dm444 $downloadedFile $out/share/fonts/truetype/Cascadia.ttf
16+ '';
17+
18+ sha256 = "0nckczvak3pd1h3fiz0j827pm87px9swx60q07lc2jnjlxcghgl2";
19+
20+ meta = with lib; {
21+ description = "Monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal";
22+ homepage = "https://github.com/microsoft/cascadia-code";
23+ license = licenses.ofl;
24+ maintainers = [ maintainers.marsam ];
25+ platforms = platforms.all;
26+ };
27+}