tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python310Packages.case: adjust inputs
Fabian Affolter
4 years ago
25294359
2ce75922
+24
-4
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
case
default.nix
+24
-4
pkgs/development/python-modules/case/default.nix
···
1
1
-
{ lib, buildPythonPackage, fetchPypi
2
2
-
, six, nose, unittest2, mock }:
1
1
+
{ lib
2
2
+
, buildPythonPackage
3
3
+
, fetchPypi
4
4
+
, nose
5
5
+
, pythonOlder
6
6
+
, pytestCheckHook
7
7
+
, six
8
8
+
}:
3
9
4
10
buildPythonPackage rec {
5
11
pname = "case";
6
12
version = "1.5.3";
13
13
+
format = "setuptools";
14
14
+
15
15
+
disabled = pythonOlder "3.7";
7
16
8
17
src = fetchPypi {
9
18
inherit pname version;
10
19
sha256 = "48432b01d91913451c3512c5b90e31b0f348f1074b166a3431085eb70d784fb1";
11
20
};
12
21
13
13
-
propagatedBuildInputs = [ six nose unittest2 mock ];
22
22
+
propagatedBuildInputs = [
23
23
+
nose
24
24
+
six
25
25
+
];
26
26
+
27
27
+
# No real unittests, only coverage
28
28
+
doCheck = false;
29
29
+
30
30
+
pythonImportsCheck = [
31
31
+
"case"
32
32
+
];
14
33
15
34
meta = with lib; {
16
35
homepage = "https://github.com/celery/case";
17
17
-
description = "unittests utilities";
36
36
+
description = "Utilities for unittests handling";
18
37
license = licenses.bsd3;
38
38
+
maintainers = with maintainers; [ ];
19
39
};
20
40
}