mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
maple-font: 6.2 -> 6.3
This commit is contained in:
parent
cafa2f02fb
commit
414173409a
@ -9,7 +9,7 @@ let
|
||||
rec{
|
||||
|
||||
inherit pname desc;
|
||||
version = "6.2";
|
||||
version = "6.3";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/subframe7536/Maple-font/releases/download/v${version}/${pname}.zip";
|
||||
inherit sha256;
|
||||
@ -21,6 +21,8 @@ let
|
||||
nativeBuildInputs = [ unzip ];
|
||||
installPhase = ''
|
||||
find . -name '*.ttf' -exec install -Dt $out/share/fonts/truetype {} \;
|
||||
find . -name '*.otf' -exec install -Dt $out/share/fonts/opentype {} \;
|
||||
find . -name '*.woff2' -exec install -Dt $out/share/fonts/woff2 {} \;
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
@ -38,22 +40,33 @@ in
|
||||
{
|
||||
Mono = maple-font {
|
||||
pname = "MapleMono";
|
||||
sha256 = "sha256-KhG0gQRnHFvpoxdcySSEYWDtOgG4xIm8X0Ua9o1aGTw=";
|
||||
sha256 = "sha256-Ap4OwP/QGFz9+xn12rekia1/pwRxZvv+H+ZmZiXcxcY=";
|
||||
desc = "monospace";
|
||||
};
|
||||
|
||||
NF = maple-font {
|
||||
pname = "MapleMono-NF";
|
||||
sha256 = "sha256-Ov6AEaLy80cwrFtmKWUceI809SwBlHsQf2F86/sc/6A=";
|
||||
sha256 = "sha256-WZHFQRG+81TF5YgOT249c8VA8vAvYowiQx/pqsDuJ4o=";
|
||||
desc = "Nerd Font";
|
||||
};
|
||||
|
||||
SC-NF = maple-font {
|
||||
pname = "MapleMono-SC-NF";
|
||||
sha256 = "sha256-bb62YGzdE9qvlyuZG7YI16gOxWC+AijlRLY8ET+q5Rg=";
|
||||
sha256 = "sha256-26odkmMljEwstRywDYJ7Dst5pfOXrtQTcrFFxbRwHcA=";
|
||||
desc = "Nerd Font SC";
|
||||
};
|
||||
|
||||
opentype = maple-font {
|
||||
pname = "MapleMono-otf";
|
||||
sha256 = "sha256-u2IuymjiosoSbdIW7h2QalagTI+eDMRSuhLgXy5RdRA=";
|
||||
desc = "OpenType";
|
||||
};
|
||||
|
||||
woff2 = maple-font {
|
||||
pname = "MapleMono-woff2";
|
||||
sha256 = "sha256-iv6Q/aYMlAkhaem8tFWAzqc9mVgWQXghBzcHJz1dg/Y=";
|
||||
desc = "WOFF2.0";
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
@ -5280,6 +5280,8 @@ with pkgs;
|
||||
maple-mono = (callPackage ../data/fonts/maple-font { }).Mono;
|
||||
maple-mono-NF = (callPackage ../data/fonts/maple-font { }).NF;
|
||||
maple-mono-SC-NF = (callPackage ../data/fonts/maple-font { }).SC-NF;
|
||||
maple-mono-otf = (callPackage ../data/fonts/maple-font { }).opentype;
|
||||
maple-mono-woff2 = (callPackage ../data/fonts/maple-font { }).woff2;
|
||||
|
||||
marl = callPackage ../development/libraries/marl { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user