30 lines
462 B
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
|
|
;
|
|
};
|
|
}
|