tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
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
-
{ lib, buildPythonPackage, fetchPypi
2
-
, six, nose, unittest2, mock }:
0
0
0
0
0
0
3
4
buildPythonPackage rec {
5
pname = "case";
6
version = "1.5.3";
0
0
0
7
8
src = fetchPypi {
9
inherit pname version;
10
sha256 = "48432b01d91913451c3512c5b90e31b0f348f1074b166a3431085eb70d784fb1";
11
};
12
13
-
propagatedBuildInputs = [ six nose unittest2 mock ];
0
0
0
0
0
0
0
0
0
0
14
15
meta = with lib; {
16
homepage = "https://github.com/celery/case";
17
-
description = "unittests utilities";
18
license = licenses.bsd3;
0
19
};
20
}
···
1
+
{ lib
2
+
, buildPythonPackage
3
+
, fetchPypi
4
+
, nose
5
+
, pythonOlder
6
+
, pytestCheckHook
7
+
, six
8
+
}:
9
10
buildPythonPackage 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
}