blob: ddb10ecf6fdc058d94c12ee1257c33ce1a0cbb75 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonOlder,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "nocaselist";
version = "2.0.3";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchPypi {
inherit pname version;
hash = "sha256-VXFNqEM/tIQ855dASXfkOF1ePfnkqgD33emD/YdBD+8=";
};
build-system = [ setuptools ];
dependencies = [ six ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "nocaselist" ];
meta = with lib; {
description = "Case-insensitive list for Python";
homepage = "https://github.com/pywbem/nocaselist";
changelog = "https://github.com/pywbem/nocaselist/blob/${version}/docs/changes.rst";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ freezeboy ];
};
}
|