Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / awsipranges / default.nix
blob036639c3cdb7bfe44f705f2c72405f7476a655ea
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , pyopenssl
6 , pytestCheckHook
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "awsipranges";
12   version = "0.3.3";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "aws-samples";
19     repo = "awsipranges";
20     rev = "refs/tags/${version}";
21     hash = "sha256-ve1+0zkDDUGswtQoXhfESMcBzoNgUutxEhz43HXL4H8=";
22   };
24   nativeBuildInputs = [
25     poetry-core
26   ];
28   nativeCheckInputs = [
29     pyopenssl
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "awsipranges"
35   ];
37   disabledTestPaths = [
38     # Tests require network access
39     "tests/data/test_syntax_and_semantics.py"
40     "tests/integration/test_package_apis.py"
41     "tests/unit/test_data_loading.py"
42   ];
44   meta = with lib; {
45     description = "Module to work with the AWS IP address ranges";
46     homepage = "https://github.com/aws-samples/awsipranges";
47     changelog = "https://github.com/aws-samples/awsipranges/releases/tag/${version}";
48     license = licenses.asl20;
49     maintainers = with maintainers; [ fab ];
50   };