ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / faraday-agent-parameters-types / default.nix
blobc5bca5712aba013e0a34b7569a44e43d45816895
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , marshmallow
5 , packaging
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "faraday-agent-parameters-types";
11   version = "1.1.0";
13   src = fetchPypi {
14     pname = "faraday_agent_parameters_types";
15     inherit version;
16     sha256 = "sha256-7CA5YvqoNHuz9Tq9jjt40lyjrg+CJpnzI1nVnBr9Cyg=";
17   };
19   propagatedBuildInputs = [
20     marshmallow
21     packaging
22   ];
24   checkInputs = [
25     pytestCheckHook
26   ];
28   postPatch = ''
29     substituteInPlace setup.py \
30       --replace '"pytest-runner",' ""
31   '';
33   pythonImportsCheck = [
34     "faraday_agent_parameters_types"
35     "faraday_agent_parameters_types.utils"
36   ];
38   meta = with lib; {
39     description = "Collection of Faraday agent parameters types";
40     homepage = "https://github.com/infobyte/faraday_agent_parameters_types";
41     license = with licenses; [ gpl3Plus ];
42     maintainers = with maintainers; [ fab ];
43   };