Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / importlib-resources / default.nix
blob79012fa9677a17b7132329294185899cdb614384
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
6 # build-system
7 , setuptools
8 , setuptools-scm
10 # dependencies
11 , importlib-metadata
13 # tests
14 , jaraco-collections
15 , pytestCheckHook
18 buildPythonPackage rec {
19   pname = "importlib-resources";
20   version = "6.1.3";
21   pyproject = true;
23   disabled = pythonOlder "3.6";
25   src = fetchPypi {
26     pname = "importlib_resources";
27     inherit version;
28     hash = "sha256-VvtFJRl7eFRKM1TqJ3k5UquT+TW7S/dGuEa7EBUCDys=";
29   };
31   build-system = [
32     setuptools
33     setuptools-scm
34   ];
36   dependencies = [
37     importlib-metadata
38   ];
40   nativeCheckInputs = [
41     pytestCheckHook
42     jaraco-collections
43   ];
45   pythonImportsCheck = [
46     "importlib_resources"
47   ];
49   meta = with lib; {
50     description = "Read resources from Python packages";
51     homepage = "https://importlib-resources.readthedocs.io/";
52     license = licenses.asl20;
53     maintainers = [ ];
54   };