about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pcffont/default.nix
blob: 7c4c0ca54dd3e36a671b00f95f083e47271091ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{ lib
, buildPythonPackage
, fetchFromGitHub
, hatchling
, bdffont
, pytestCheckHook
, nix-update-script
}:

buildPythonPackage rec {
  pname = "pcffont";
  version = "0.0.11";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "TakWolf";
    repo = "pcffont";
    rev = "refs/tags/${version}";
    hash = "sha256-gu9niWxYTw3rcA++z8B+MdKp5XaqAGjmvd+PdSDosfg=";
  };

  build-system = [
    hatchling
  ];

  dependencies = [
    bdffont
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [ "pcffont" ];

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Library for manipulating Portable Compiled Format (PCF) fonts";
    homepage = "https://github.com/TakWolf/pcffont";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ ];
  };
}