2023-02-02 18:25:31 +00:00
|
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
|
pname = "fira-code-symbols";
|
|
|
|
|
version = "20160811";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
|
src = fetchzip {
|
|
|
|
|
url = "https://github.com/tonsky/FiraCode/files/412440/FiraCode-Regular-Symbol.zip";
|
|
|
|
|
hash = "sha256-7y51blEn0Osf8azytK08zJgtfVX/CIWQkiOoRzYKIa4=";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
|
runHook preInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
|
install -Dm644 *.otf -t $out/share/fonts/opentype
|
|
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +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;
|
|
|
|
|
maintainers = [ maintainers.Profpatsch ];
|
|
|
|
|
homepage = "https://github.com/tonsky/FiraCode/issues/211#issuecomment-239058632";
|
|
|
|
|
};
|
2023-02-02 18:25:31 +00:00
|
|
|
|
}
|