1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pynose,
6 pythonOlder,
7 pythonRelaxDepsHook,
8 setuptools,
9 six,
10}:
11
12buildPythonPackage rec {
13 pname = "case";
14 version = "1.5.3";
15 pyproject = true;
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchPypi {
20 inherit pname version;
21 sha256 = "48432b01d91913451c3512c5b90e31b0f348f1074b166a3431085eb70d784fb1";
22 };
23
24 build-system = [
25 setuptools
26 pythonRelaxDepsHook
27 ];
28
29 pythonRemoveDeps = [
30 # replaced with pynopse for python 3.12 compat
31 "nose"
32 ];
33
34 dependencies = [
35 pynose
36 six
37 ];
38
39 # No real unittests, only coverage
40 doCheck = false;
41
42 pythonImportsCheck = [ "case" ];
43
44 meta = with lib; {
45 homepage = "https://github.com/celery/case";
46 description = "Utilities for unittests handling";
47 license = licenses.bsd3;
48 maintainers = with maintainers; [ ];
49 };
50}