Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / nocaselist / default.nix
blobfcad1844e2f6578e6848babefaa14ea412dff76d
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytest7CheckHook
5 , pythonOlder
6 , six
7 }:
9 buildPythonPackage rec {
10   pname = "nocaselist";
11   version = "2.0.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-RWqgAMZ3fF0hsCnFLlMvlDKNT7TxWtKk3T3WLbMLOJI=";
19   };
21   propagatedBuildInputs = [
22     six
23   ];
25   nativeCheckInputs = [
26     pytest7CheckHook
27   ];
29   pythonImportsCheck = [
30     "nocaselist"
31   ];
33   meta = with lib; {
34     description = "A case-insensitive list for Python";
35     homepage = "https://github.com/pywbem/nocaselist";
36     changelog = "https://github.com/pywbem/nocaselist/blob/${version}/docs/changes.rst";
37     license = licenses.lgpl21Plus;
38     maintainers = with maintainers; [ freezeboy ];
39   };