1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6 pythonOlder,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "nocasedict";
12 version = "2.0.4";
13 pyproject = true;
14
15 disabled = pythonOlder "3.10";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-TKk09l31exDQ/KtfDDnp3MuTV3/58ivvmCZd2/EvivE=";
20 };
21
22 build-system = [ setuptools ];
23
24 nativeCheckInputs = [ pytestCheckHook ];
25
26 pythonImportsCheck = [ "nocasedict" ];
27
28 meta = with lib; {
29 description = "Case-insensitive ordered dictionary for Python";
30 homepage = "https://github.com/pywbem/nocasedict";
31 changelog = "https://github.com/pywbem/nocasedict/blob/${version}/docs/changes.rst";
32 license = licenses.lgpl21Plus;
33 maintainers = with maintainers; [ freezeboy ];
34 };
35}