You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
925 B
44 lines
925 B
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, marshmallow
|
|
, packaging
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "faraday-agent-parameters-types";
|
|
version = "1.0.3";
|
|
|
|
src = fetchPypi {
|
|
pname = "faraday_agent_parameters_types";
|
|
inherit version;
|
|
sha256 = "6155669db477c3330c0850814eabe231bbbadf9d2ec57b4f734994f76eaee0e7";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
marshmallow
|
|
packaging
|
|
];
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
postPatch = ''
|
|
substituteInPlace setup.py \
|
|
--replace '"pytest-runner",' ""
|
|
'';
|
|
|
|
pythonImportsCheck = [
|
|
"faraday_agent_parameters_types"
|
|
"faraday_agent_parameters_types.utils"
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|