depot/third_party/nixpkgs/pkgs/development/python-modules/bencodetools/default.nix

30 lines
462 B
Nix

{
buildPythonPackage,
bencodetools,
pytestCheckHook,
setuptools,
}:
buildPythonPackage {
inherit (bencodetools) pname version src;
format = "pyproject";
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
dontConfigure = true;
pythonImportsCheck = [
"bencode"
"typevalidator"
];
meta = {
inherit (bencodetools.meta)
description
homepage
license
maintainers
;
};
}