Skip to content

Commit 70b30c5

Browse files
committed
ark-pixel-font: 2024.05.12 -> 2025.03.14
1 parent 9cacd7e commit 70b30c5

File tree

2 files changed

+10
-59
lines changed

2 files changed

+10
-59
lines changed

pkgs/by-name/ar/ark-pixel-font/limit-builds.patch

Lines changed: 0 additions & 34 deletions
This file was deleted.

pkgs/by-name/ar/ark-pixel-font/package.nix

Lines changed: 10 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,52 +3,37 @@
33
python312Packages,
44
fetchFromGitHub,
55
nix-update-script,
6-
fetchPypi,
76
}:
87

9-
let
10-
pixel-font-builder-compat = python312Packages.pixel-font-builder.overrideAttrs rec {
11-
version = "0.0.26";
12-
src = fetchPypi {
13-
inherit version;
14-
pname = "pixel_font_builder";
15-
hash = "sha256-bgs2FbOA5tcUXe5+KuVztWGAv5yFxQNBaiZMeZ+ic+8=";
16-
};
17-
};
18-
in
198
python312Packages.buildPythonPackage rec {
209
pname = "ark-pixel-font";
21-
version = "2024.05.12";
10+
version = "2025.03.14";
11+
pyproject = false;
2212

2313
src = fetchFromGitHub {
2414
owner = "TakWolf";
2515
repo = "ark-pixel-font";
2616
tag = version;
27-
hash = "sha256-PGhhKWHDpvOqa3vaI40wuIsAEdWGb62cN7QJeHQqiss=";
17+
hash = "sha256-B/XsZEpSxY4k8uj3Vy31c9+GcO7d3NFcADLtPU6p/CI=";
2818
};
2919

30-
format = "other";
31-
32-
nativeBuildInputs = with python312Packages; [
33-
pixel-font-builder-compat
20+
dependencies = with python312Packages; [
21+
pixel-font-builder
22+
pixel-font-knife
3423
unidata-blocks
3524
character-encoding-utils
36-
pypng
25+
pyyaml
3726
pillow
3827
beautifulsoup4
3928
jinja2
40-
gitpython
29+
loguru
30+
cyclopts
4131
];
4232

43-
# By default build.py builds a LOT of extraneous artifacts we don't need.
44-
patches = [ ./limit-builds.patch ];
45-
4633
buildPhase = ''
4734
runHook preBuild
4835
49-
# Too much debug output would break Hydra, so this jankness has to be here for it to build at all.
50-
# I wish there's a builtin way to set the log level without modifying the script itself...
51-
python3 build.py 2>&1 >/dev/null | grep -E '^(INFO|WARN|ERROR)'
36+
python -m tools.cli --cleanup
5237
5338
runHook postBuild
5439
'';

0 commit comments

Comments
 (0)