ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pycfmodel / default.nix
blobdde651cf783b89aeed96414844d6f8488db06f76
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , httpx
5 , pydantic
6 , pytestCheckHook
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "pycfmodel";
12   version = "0.20.2";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "Skyscanner";
19     repo = pname;
20     rev = "refs/tags/${version}";
21     hash = "sha256-TumqpNaxH9YET56PhTXJVG/OQw3syXaYNtHn+Vyh6xI=";
22   };
24   propagatedBuildInputs = [
25     pydantic
26   ];
28   checkInputs = [
29     httpx
30     pytestCheckHook
31   ];
33   disabledTests = [
34     # Test require network access
35     "test_cloudformation_actions"
36     "test_auxiliar_cast"
37     "test_valid_es_domain_from_aws_documentation_examples_resource_can_be_built"
38     "test_valid_opensearch_domain_from_aws_documentation_examples_resource_can_be_built"
39     "test_resolve_booleans_different_properties_for_generic_resource"
40   ];
42   pythonImportsCheck = [
43     "pycfmodel"
44   ];
46   meta = with lib; {
47     description = "Model for Cloud Formation scripts";
48     homepage = "https://github.com/Skyscanner/pycfmodel";
49     license = licenses.asl20;
50     maintainers = with maintainers; [ fab ];
51   };