python310Packages.case: adjust inputs
This commit is contained in:
parent
2ce7592267
commit
252943597e
1 changed files with 24 additions and 4 deletions
|
@ -1,20 +1,40 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi
|
{ lib
|
||||||
, six, nose, unittest2, mock }:
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, nose
|
||||||
|
, pythonOlder
|
||||||
|
, pytestCheckHook
|
||||||
|
, six
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "case";
|
pname = "case";
|
||||||
version = "1.5.3";
|
version = "1.5.3";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "48432b01d91913451c3512c5b90e31b0f348f1074b166a3431085eb70d784fb1";
|
sha256 = "48432b01d91913451c3512c5b90e31b0f348f1074b166a3431085eb70d784fb1";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ six nose unittest2 mock ];
|
propagatedBuildInputs = [
|
||||||
|
nose
|
||||||
|
six
|
||||||
|
];
|
||||||
|
|
||||||
|
# No real unittests, only coverage
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"case"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/celery/case";
|
homepage = "https://github.com/celery/case";
|
||||||
description = "unittests utilities";
|
description = "Utilities for unittests handling";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue