python3Packages.circuitbreaker: migrate to pyproject (#529054)

This commit is contained in:
Fabian Affolter
2026-06-10 18:36:37 +00:00
committed by GitHub
@@ -2,23 +2,28 @@
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
pytest-asyncio,
pytest-mock,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "circuitbreaker";
version = "2.1.3";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "fabfuel";
repo = "circuitbreaker";
tag = version;
tag = finalAttrs.version;
hash = "sha256-7BpYGhha0PTYzsE9CsN4KxfJW/wm2i6V+uAeamBREBQ=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
@@ -33,4 +38,4 @@ buildPythonPackage rec {
license = with lib.licenses; [ bsd3 ];
maintainers = with lib.maintainers; [ fab ];
};
}
})