lv_font_conv: Remove from nodePackages

This commit is contained in:
Pyrox 2024-06-28 17:36:48 -04:00
parent 3e2d4a44fe
commit 53d691ebab
No known key found for this signature in database
GPG Key ID: 8CDF3F7CAA53A0F5
4 changed files with 35 additions and 19 deletions

View File

@ -0,0 +1,34 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
nix-update-script,
}:
buildNpmPackage rec {
pname = "lv_font_conv";
version = "1.5.3";
src = fetchFromGitHub {
owner = "lvgl";
repo = "lv_font_conv";
rev = version;
hash = "sha256-tm6xPOW0pOO02M10O1H7ww+yXWq/DJtbDmlfrJ6Lp4Y=";
};
npmDepsHash = "sha256-nNMcOL3uu77e4qLoWGhtBgNQXxeEU+kUuKAc25a8fUc=";
preBuild = ''
patchShebangs support/build_web.js
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "Converts TTF/WOFF fonts to compact bitmap format";
mainProgram = "lv_font_conv";
homepage = " https://lvgl.io/tools/fontconverter";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pyrox0 ];
};
}

View File

@ -110,6 +110,7 @@ mapAliases {
inherit (pkgs) javascript-typescript-langserver; # added 2023-08-19
karma = pkgs.karma-runner; # added 2023-07-29
leetcode-cli = vsc-leetcode-cli; # added 2023-08-31
inherit (pkgs) lv_font_conv; # added 2024-06-28
manta = pkgs.node-manta; # Added 2023-05-06
markdownlint-cli = pkgs.markdownlint-cli; # added 2023-07-29
inherit (pkgs) markdownlint-cli2; # added 2023-08-22

View File

@ -150,7 +150,6 @@
, "localtunnel"
, "lodash"
, "lua-fmt"
, "lv_font_conv"
, "madoko"
, "markdown-link-check"
, "mastodon-bot"

View File

@ -80994,24 +80994,6 @@ in
bypassCache = true;
reconstructLock = true;
};
lv_font_conv = nodeEnv.buildNodePackage {
name = "lv_font_conv";
packageName = "lv_font_conv";
version = "1.5.3";
src = fetchurl {
url = "https://registry.npmjs.org/lv_font_conv/-/lv_font_conv-1.5.3.tgz";
sha512 = "0xJQThBOw2iptFccSXrKDIUTQAwr/2zhKjCI1lATIRgZo8uvYRTmenKafW9yTw6G0y5AyW00tqGpUtYuTuBIbQ==";
};
buildInputs = globalBuildInputs;
meta = {
description = "Rasterize vector fonts for embedded use. Supports subsettings & merge.";
homepage = "https://github.com/lvgl/lv_font_conv#readme";
license = "MIT";
};
production = true;
bypassCache = true;
reconstructLock = true;
};
madoko = nodeEnv.buildNodePackage {
name = "madoko";
packageName = "madoko";