summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/bencodetools/default.nix
blob: 0ef33a4c99336e9f585f69fa6ac5561387e5a03d (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
{
  buildPythonPackage,
  bencodetools,
  pytestCheckHook,
  setuptools,
}:
buildPythonPackage {
  inherit (bencodetools) pname version src;
  pyproject = true;

  nativeBuildInputs = [ setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];

  dontConfigure = true;

  pythonImportsCheck = [
    "bencode"
    "typevalidator"
  ];

  meta = {
    inherit (bencodetools.meta)
      description
      homepage
      license
      maintainers
      ;
  };
}