diff --git a/pkgs/development/python-modules/faraday-agent-parameters-types/default.nix b/pkgs/development/python-modules/faraday-agent-parameters-types/default.nix new file mode 100644 index 000000000000..ba0e120442cc --- /dev/null +++ b/pkgs/development/python-modules/faraday-agent-parameters-types/default.nix @@ -0,0 +1,39 @@ +{ lib +, buildPythonPackage +, fetchPypi +, marshmallow +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "faraday-agent-parameters-types"; + version = "1.0.1"; + + src = fetchPypi { + pname = "faraday_agent_parameters_types"; + inherit version; + sha256 = "0q2cngxgkvl74mhkibvdsvjjrdfd7flxd6a4776wmxkkn0brzw66"; + }; + + propagatedBuildInputs = [ + marshmallow + ]; + + checkInputs = [ + pytestCheckHook + ]; + + postPatch = '' + substituteInPlace setup.py \ + --replace '"pytest-runner",' "" + ''; + + pythonImportsCheck = [ "faraday_agent_parameters_types" ]; + + meta = with lib; { + description = "Collection of Faraday agent parameters types"; + homepage = "https://github.com/infobyte/faraday_agent_parameters_types"; + license = with licenses; [ gpl3Plus ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7db3a071b664..2139082ae59f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2520,6 +2520,8 @@ in { falcon = callPackage ../development/python-modules/falcon { }; + faraday-agent-parameters-types = callPackage ../development/python-modules/faraday-agent-parameters-types { }; + faraday-plugins = callPackage ../development/python-modules/faraday-plugins { }; fastapi = callPackage ../development/python-modules/fastapi { };