1{ lib
2, buildPythonPackage
3, fetchPypi
4, nose
5, pythonOlder
6, pytestCheckHook
7, six
8}:
9
10buildPythonPackage rec {
11 pname = "case";
12 version = "1.5.3";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "48432b01d91913451c3512c5b90e31b0f348f1074b166a3431085eb70d784fb1";
20 };
21
22 propagatedBuildInputs = [
23 nose
24 six
25 ];
26
27 # No real unittests, only coverage
28 doCheck = false;
29
30 pythonImportsCheck = [
31 "case"
32 ];
33
34 meta = with lib; {
35 homepage = "https://github.com/celery/case";
36 description = "Utilities for unittests handling";
37 license = licenses.bsd3;
38 maintainers = with maintainers; [ ];
39 };
40}