python3Packages.pcffont: fix build

fetchPyPi -> fetchFromGitHub, hatchling -> uv-build
This commit is contained in:
Benjamin Sparks
2026-03-01 00:31:25 +01:00
parent 9c49c00807
commit c13daec25e
@@ -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 ];