build-bazel-package: added rm of extra local folders for toolchain configuration...
[NixPkgs.git] / pkgs / development / python-modules / awsipranges / default.nix
blobcc927030ce92c002d7a304daf917f9bdf00b6a11
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   pyopenssl,
7   pytestCheckHook,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "awsipranges";
13   version = "0.3.3";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "aws-samples";
20     repo = "awsipranges";
21     tag = version;
22     hash = "sha256-ve1+0zkDDUGswtQoXhfESMcBzoNgUutxEhz43HXL4H8=";
23   };
25   nativeBuildInputs = [ poetry-core ];
27   nativeCheckInputs = [
28     pyopenssl
29     pytestCheckHook
30   ];
32   pythonImportsCheck = [ "awsipranges" ];
34   disabledTestPaths = [
35     # Tests require network access
36     "tests/data/test_syntax_and_semantics.py"
37     "tests/integration/test_package_apis.py"
38     "tests/unit/test_data_loading.py"
39   ];
41   meta = with lib; {
42     description = "Module to work with the AWS IP address ranges";
43     homepage = "https://github.com/aws-samples/awsipranges";
44     changelog = "https://github.com/aws-samples/awsipranges/releases/tag/${version}";
45     license = licenses.asl20;
46     maintainers = with maintainers; [ fab ];
47   };