1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6 pythonOlder,
7 nix-update-script,
8 hatch-vcs,
9 hatchling,
10 brotli,
11 fonttools,
12}:
13
14buildPythonPackage rec {
15 pname = "bdffont";
16 version = "0.0.24";
17
18 disabled = pythonOlder "3.11";
19
20 src = fetchPypi {
21 inherit pname version;
22 hash = "sha256-3HJwtBV78zsMUlmwJrPj74Vd5cru1zflvies5mNGcy4=";
23 };
24
25 format = "pyproject";
26
27 nativeBuildInputs = [
28 hatch-vcs
29 hatchling
30 ];
31
32 nativeCheckInputs = [ pytestCheckHook ];
33
34 passthru.updateScript = nix-update-script { };
35
36 meta = {
37 homepage = "https://github.com/TakWolf/bdffont";
38 description = "A library for manipulating .bdf format fonts";
39 platforms = lib.platforms.all;
40 license = lib.licenses.mit;
41 maintainers = with lib.maintainers; [ h7x4 ];
42 };
43}