2023-01-28 02:45:00 +00:00
|
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2017-05-05 01:11:43 +00:00
|
|
|
|
|
2023-01-28 02:45:00 +00:00
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
|
pname = "fira-code-symbols";
|
|
|
|
|
version = "20160811";
|
2017-08-11 13:43:18 +00:00
|
|
|
|
|
2023-01-28 02:45:00 +00:00
|
|
|
|
src = fetchzip {
|
|
|
|
|
url = "https://github.com/tonsky/FiraCode/files/412440/FiraCode-Regular-Symbol.zip";
|
|
|
|
|
hash = "sha256-7y51blEn0Osf8azytK08zJgtfVX/CIWQkiOoRzYKIa4=";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
|
runHook preInstall
|
2017-08-11 13:43:18 +00:00
|
|
|
|
|
2023-01-28 02:45:00 +00:00
|
|
|
|
install -Dm644 *.otf -t $out/share/fonts/opentype
|
|
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
|
'';
|
2017-05-05 01:11:43 +00:00
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
|
meta = with lib; {
|
2017-05-05 01:11:43 +00:00
|
|
|
|
description = "FiraCode unicode ligature glyphs in private use area";
|
|
|
|
|
longDescription = ''
|
|
|
|
|
FiraCode uses ligatures, which some editors don’t support.
|
|
|
|
|
This addition adds them as glyphs to the private unicode use area.
|
|
|
|
|
See https://github.com/tonsky/FiraCode/issues/211.
|
|
|
|
|
'';
|
|
|
|
|
license = licenses.ofl;
|
2023-07-07 10:52:12 +00:00
|
|
|
|
maintainers = [ ];
|
2017-05-05 01:11:43 +00:00
|
|
|
|
homepage = "https://github.com/tonsky/FiraCode/issues/211#issuecomment-239058632";
|
|
|
|
|
};
|
2023-01-28 02:45:00 +00:00
|
|
|
|
}
|