@@ -0,0 +1,39 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, marshmallow
5+, pytestCheckHook
6+}:
7+
8+buildPythonPackage rec {
9+ pname = "faraday-agent-parameters-types";
10+ version = "1.0.1";
11+
12+ src = fetchPypi {
13+ pname = "faraday_agent_parameters_types";
14+ inherit version;
15+ sha256 = "0q2cngxgkvl74mhkibvdsvjjrdfd7flxd6a4776wmxkkn0brzw66";
16+ };
17+
18+ propagatedBuildInputs = [
19+ marshmallow
20+ ];
21+
22+ checkInputs = [
23+ pytestCheckHook
24+ ];
25+
26+ postPatch = ''
27+ substituteInPlace setup.py \
28+ --replace '"pytest-runner",' ""
29+ '';
30+
31+ pythonImportsCheck = [ "faraday_agent_parameters_types" ];
32+
33+ meta = with lib; {
34+ description = "Collection of Faraday agent parameters types";
35+ homepage = "https://github.com/infobyte/faraday_agent_parameters_types";
36+ license = with licenses; [ gpl3Plus ];
37+ maintainers = with maintainers; [ fab ];
38+ };
39+}