Merge: matrix-synapse: 1.122.0 -> 1.123.0 (#378018)
[NixPkgs.git] / pkgs / development / python-modules / bdffont / default.nix
blobdadde046f6ffb26f08719c9abbf55f7aa2522cca
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   pytestCheckHook,
7   nix-update-script,
8   hatchling,
9 }:
11 buildPythonPackage rec {
12   pname = "bdffont";
13   version = "0.0.27";
14   pyproject = true;
16   disabled = pythonOlder "3.10";
18   src = fetchPypi {
19     pname = "bdffont";
20     inherit version;
21     hash = "sha256-1sYjiCklQ2gfQQIZcZ/Fk27XBzRrbZEY+1JNaJ/8LTs=";
22   };
24   build-system = [ hatchling ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "bdffont" ];
30   passthru.updateScript = nix-update-script { };
32   meta = {
33     homepage = "https://github.com/TakWolf/bdffont";
34     description = "A library for manipulating Glyph Bitmap Distribution Format (BDF) Fonts";
35     platforms = lib.platforms.all;
36     license = lib.licenses.mit;
37     maintainers = with lib.maintainers; [
38       TakWolf
39       h7x4
40     ];
41   };