mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
cascadia-code: init at 1909.16
This commit is contained in:
parent
9733662744
commit
319710d48c
2 changed files with 29 additions and 0 deletions
27
pkgs/data/fonts/cascadia-code/default.nix
Normal file
27
pkgs/data/fonts/cascadia-code/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -16593,6 +16593,8 @@ in
|
|||
|
||||
carlito = callPackage ../data/fonts/carlito {};
|
||||
|
||||
cascadia-code = callPackage ../data/fonts/cascadia-code { };
|
||||
|
||||
charis-sil = callPackage ../data/fonts/charis-sil { };
|
||||
|
||||
cherry = callPackage ../data/fonts/cherry { };
|
||||
|
|
Loading…
Reference in a new issue