summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/autopxd2/default.nix
blob: c66fde78483d11615a607207f33d5f4eecae69b1 (plain)
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
45
46
47
48
{
  buildPythonPackage,
  lib,
  fetchPypi,
  setuptools,
  pycparser,
  click,
  pytestCheckHook,
  cython,
}:

buildPythonPackage rec {
  pname = "python-autopxd2";
  version = "2.5.0";
  pyproject = true;

  src = fetchPypi {
    pname = "autopxd2";
    inherit version;
    hash = "sha256-uxVWz2LSXWpDYvQFrxlrmxA1XQagyHTfFf4hhaHKOqc=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [
    pycparser
    click
    cython
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  enabledTestPaths = [
    "test/"
  ];

  meta = {
    homepage = "https://github.com/elijahr/python-autopxd2";
    mainProgram = "autopxd";
    maintainers = with lib.maintainers; [ bot-wxt1221 ];
    license = lib.licenses.mit;
    description = "Generates .pxd files automatically from .h files";
  };
}