python3Packages.{character-encoding-utils,pcffont,pixel-font-builder,pixel-font-knife,unidata-data-blocks}: fix builds (#495342)

This commit is contained in:
Sandro
2026-03-03 15:52:40 +00:00
committed by GitHub
5 changed files with 40 additions and 35 deletions
@@ -1,10 +1,10 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
pytestCheckHook,
nix-update-script,
hatchling,
uv-build,
}:
buildPythonPackage rec {
@@ -12,13 +12,14 @@ buildPythonPackage rec {
version = "0.0.12";
pyproject = true;
src = fetchPypi {
pname = "character_encoding_utils";
inherit version;
hash = "sha256-sOXdpO7c2EpbNbJK1WIYx/Xb5UGIMW8daw154V/NpU0=";
src = fetchFromGitHub {
owner = "TakWolf";
repo = "character-encoding-utils";
tag = version;
hash = "sha256-4WaVvr6/d/oePtmwpGJ/D6tv10V/ok9iN4BrqGk97f0=";
};
build-system = [ hatchling ];
build-system = [ uv-build ];
nativeCheckInputs = [ pytestCheckHook ];
@@ -1,10 +1,10 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
pytestCheckHook,
nix-update-script,
hatchling,
uv-build,
bdffont,
}:
@@ -13,13 +13,14 @@ buildPythonPackage rec {
version = "0.0.24";
pyproject = true;
src = fetchPypi {
pname = "pcffont";
inherit version;
hash = "sha256-Sax3bUs6ogQ+LuUAy6k1zEfN4WT81zm1LzP2s/6Pecg=";
src = fetchFromGitHub {
owner = "TakWolf";
repo = "pcffont";
tag = version;
hash = "sha256-32u4FE5QLLqYmRVDuYYGC/laLCRH9phNGi1B9JC+cps=";
};
build-system = [ hatchling ];
build-system = [ uv-build ];
dependencies = [ bdffont ];
@@ -1,10 +1,10 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
pytestCheckHook,
nix-update-script,
hatchling,
uv-build,
fonttools,
brotli,
bdffont,
@@ -17,13 +17,14 @@ buildPythonPackage rec {
version = "0.0.47";
pyproject = true;
src = fetchPypi {
pname = "pixel_font_builder";
inherit version;
hash = "sha256-O3HtwoZUp89mUgVMMcAd4CCPFqQpsyqlmug+QgNpgNQ=";
src = fetchFromGitHub {
owner = "TakWolf";
repo = "pixel-font-builder";
tag = version;
hash = "sha256-a25JKZy5XaBfpeFwH7YnSTY28hQF8dLa/AGEOXHN94I=";
};
build-system = [ hatchling ];
build-system = [ uv-build ];
dependencies = [
fonttools
@@ -1,11 +1,11 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
pythonOlder,
pytestCheckHook,
nix-update-script,
hatchling,
uv-build,
pypng,
unidata-blocks,
pyyaml,
@@ -18,13 +18,14 @@ buildPythonPackage rec {
disabled = pythonOlder "3.12";
src = fetchPypi {
pname = "pixel_font_knife";
inherit version;
hash = "sha256-QTwrxXn5uAp44D/rgbZiCaFP+rDU4H4LGw75n2hQJGs=";
src = fetchFromGitHub {
owner = "TakWolf";
repo = "pixel-font-knife";
tag = version;
hash = "sha256-f4jaLEPXl8oo1olWBeymMn5a8Tyl07h1TW4pZ5OItZU=";
};
build-system = [ hatchling ];
build-system = [ uv-build ];
dependencies = [
pypng
@@ -1,10 +1,10 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
pytestCheckHook,
nix-update-script,
hatchling,
uv-build,
langcodes,
}:
@@ -13,13 +13,14 @@ buildPythonPackage rec {
version = "0.0.24";
pyproject = true;
src = fetchPypi {
pname = "unidata_blocks";
inherit version;
hash = "sha256-yQJW4u0v9TrYNPOeEqhOnCcuyrgpj4Qy1ayLBeCgp2E=";
src = fetchFromGitHub {
owner = "TakWolf";
repo = "unidata-blocks";
tag = version;
hash = "sha256-WGo7Sn2lubsOWfLglBAEx/2PQ1YCrF/wI7/pDwoHMRk=";
};
build-system = [ hatchling ];
build-system = [ uv-build ];
dependencies = [
langcodes