Merge pull request #138948 from fabaff/faraday-agent-parameters-types

python3Packages.faraday-agent-parameters-types: init at 1.0.1
This commit is contained in:
Fabian Affolter 2021-09-30 14:27:07 +02:00 committed by GitHub
commit 91f7d46272
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -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 { };