python3Packages.circuitbreaker: init at 1.3.2
This commit is contained in:
parent
5e4feb3c2d
commit
280fdf5e3d
2 changed files with 40 additions and 0 deletions
38
pkgs/development/python-modules/circuitbreaker/default.nix
Normal file
38
pkgs/development/python-modules/circuitbreaker/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, mock
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "circuitbreaker";
|
||||
version = "1.3.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fabfuel";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-3hFa8dwCso5tj26ek2jMdVBRzu5H3vkdjQlDYw2hSH0=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"circuitbreaker"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python Circuit Breaker implementation";
|
||||
homepage = "https://github.com/fabfuel/circuitbreaker";
|
||||
license = with licenses; [ bsd3 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -1533,6 +1533,8 @@ in {
|
|||
|
||||
ci-py = callPackage ../development/python-modules/ci-py { };
|
||||
|
||||
circuitbreaker = callPackage ../development/python-modules/circuitbreaker { };
|
||||
|
||||
cirq = callPackage ../development/python-modules/cirq { };
|
||||
|
||||
cirq-aqt = callPackage ../development/python-modules/cirq-aqt { };
|
||||
|
|
Loading…
Reference in a new issue