depot/third_party/nixpkgs/pkgs/data/fonts/fira-code/symbols.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

31 lines
917 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation {
pname = "fira-code-symbols";
version = "20160811";
src = fetchzip {
url = "https://github.com/tonsky/FiraCode/files/412440/FiraCode-Regular-Symbol.zip";
hash = "sha256-7y51blEn0Osf8azytK08zJgtfVX/CIWQkiOoRzYKIa4=";
};
installPhase = ''
runHook preInstall
install -Dm644 *.otf -t $out/share/fonts/opentype
runHook postInstall
'';
meta = with lib; {
description = "FiraCode unicode ligature glyphs in private use area";
longDescription = ''
FiraCode uses ligatures, which some editors dont support.
This addition adds them as glyphs to the private unicode use area.
See https://github.com/tonsky/FiraCode/issues/211.
'';
license = licenses.ofl;
maintainers = [ maintainers.Profpatsch ];
homepage = "https://github.com/tonsky/FiraCode/issues/211#issuecomment-239058632";
};
}