subfont: 7.2.1 -> 7.2.3 (#520277)

This commit is contained in:
Michael Daniels
2026-05-15 21:54:07 +00:00
committed by GitHub
2 changed files with 2336 additions and 591 deletions
+2321 -587
View File
File diff suppressed because it is too large Load Diff
+15 -4
View File
@@ -1,17 +1,21 @@
{
lib,
buildNpmPackage,
nodejs_22,
cairo,
fetchurl,
nodejs_22,
pango,
pixman,
pkg-config,
testers,
}:
let
pname = "subfont";
version = "7.2.1";
version = "7.2.3";
src = fetchurl {
url = "https://registry.npmjs.org/subfont/-/subfont-${version}.tgz";
hash = "sha256-8zfMO/3zEKkLI7nZShVpaJxxueM8amdsiIEGmcebLgQ=";
hash = "sha256-daHPt03dPBCWYXFS8x1SNTRlkmCCdWmmondur6fRBgY=";
};
in
buildNpmPackage (finalAttrs: {
@@ -19,7 +23,7 @@ buildNpmPackage (finalAttrs: {
nodejs = nodejs_22;
npmDepsHash = "sha256-vqsm8/1I1HFo9IZdOqGQ/qFEyLTYY5uwtsnp1PJfPIk=";
npmDepsHash = "sha256-ocCVdUtKiWNVzxZljcb2Y+4u3r34drbcNyfKT3Rj1mY=";
postPatch = ''
ln -s ${./package-lock.json} package-lock.json
@@ -27,6 +31,13 @@ buildNpmPackage (finalAttrs: {
dontNpmBuild = true;
nativeBuildInputs = [ pkg-config ];
buildInputs = [
cairo
pango
pixman
];
env.PUPPETEER_SKIP_DOWNLOAD = true;
passthru.tests.version = testers.testVersion {