Commit c2011885 authored by Robert Schütz's avatar Robert Schütz
Browse files

python3Packages.pybreaker: init at 1.4.1

parent 6fd688ea
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  fakeredis,
  fetchFromGitHub,
  flit-core,
  lib,
  pybreaker,
  pytestCheckHook,
  redis,
  tornado,
}:

buildPythonPackage rec {
  pname = "pybreaker";
  version = "1.4.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "danielfm";
    repo = "pybreaker";
    tag = "v${version}";
    hash = "sha256-Cxer6EDfi4fvs7XENwpUUMcCiRX6eDNJz0s57l9U+zQ=";
  };

  build-system = [ flit-core ];

  pythonImportsCheck = [ "pybreaker" ];

  nativeCheckInputs = [
    fakeredis
    pytestCheckHook
    tornado
  ];

  meta = {
    changelog = "https://github.com/danielfm/pybreaker/blob/${src.tag}/CHANGELOG";
    description = "Python implementation of the Circuit Breaker pattern";
    homepage = "https://github.com/danielfm/pybreaker";
    license = lib.licenses.bsd3;
    maintainers = [ lib.maintainers.dotlambda ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -13073,6 +13073,8 @@ self: super: with self; {
  pybravia = callPackage ../development/python-modules/pybravia { };
  pybreaker = callPackage ../development/python-modules/pybreaker { };
  pybrowserid = callPackage ../development/python-modules/pybrowserid { };
  pybrowsers = callPackage ../development/python-modules/pybrowsers { };