diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-09-18 21:00:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2019-09-18 21:00:00 -0500 |
commit | 319710d48c91c3ccb717e10ed266f2779a88f54e (patch) | |
tree | f8e32209e9678b4059d471476ed4d74e42ce3320 /pkgs/data/fonts/cascadia-code | |
parent | 973366274450c63da36294a4118da7f2a4f0a956 (diff) | |
download | nixpkgs-319710d48c91c3ccb717e10ed266f2779a88f54e.tar nixpkgs-319710d48c91c3ccb717e10ed266f2779a88f54e.tar.gz nixpkgs-319710d48c91c3ccb717e10ed266f2779a88f54e.tar.bz2 nixpkgs-319710d48c91c3ccb717e10ed266f2779a88f54e.tar.lz nixpkgs-319710d48c91c3ccb717e10ed266f2779a88f54e.tar.xz nixpkgs-319710d48c91c3ccb717e10ed266f2779a88f54e.tar.zst nixpkgs-319710d48c91c3ccb717e10ed266f2779a88f54e.zip |
cascadia-code: init at 1909.16
Diffstat (limited to 'pkgs/data/fonts/cascadia-code')
-rw-r--r-- | pkgs/data/fonts/cascadia-code/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/data/fonts/cascadia-code/default.nix b/pkgs/data/fonts/cascadia-code/default.nix new file mode 100644 index 00000000000..ddb214c49e1 --- /dev/null +++ b/pkgs/data/fonts/cascadia-code/default.nix @@ -0,0 +1,27 @@ +{ lib, fetchurl }: + +let + pname = "cascadia-code"; + version = "1909.16"; +in +fetchurl { + name = "${pname}-${version}"; + url = "https://github.com/microsoft/cascadia-code/releases/download/v${version}/Cascadia.ttf"; + + downloadToTemp = true; + recursiveHash = true; + + postFetch = '' + install -Dm444 $downloadedFile $out/share/fonts/truetype/Cascadia.ttf + ''; + + sha256 = "0nckczvak3pd1h3fiz0j827pm87px9swx60q07lc2jnjlxcghgl2"; + + meta = with lib; { + description = "Monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal"; + homepage = "https://github.com/microsoft/cascadia-code"; + license = licenses.ofl; + maintainers = [ maintainers.marsam ]; + platforms = platforms.all; + }; +} |