python3Packages.bencode-py: migrate to pyproject

This commit is contained in:
Harinn
2026-06-06 02:22:23 +07:00
parent 95543ad778
commit ad3f2a854b
@@ -2,13 +2,14 @@
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pbr,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "beconde-py";
version = "4.0.0";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit version;
@@ -16,9 +17,12 @@ buildPythonPackage rec {
hash = "sha256-KiTM2hclpRplCJPQtjJgE4NZ6qKZu256CZYTUKKm4Fw=";
};
pythonImportsCheck = [ "bencodepy" ];
build-system = [
setuptools
pbr
];
nativeBuildInputs = [ pbr ];
pythonImportsCheck = [ "bencodepy" ];
nativeCheckInputs = [ pytestCheckHook ];