python310Packages.case: adjust inputs

This commit is contained in:
Fabian Affolter 2022-01-12 19:04:44 +01:00
parent 2ce7592267
commit 252943597e

View file

@ -1,20 +1,40 @@
{ lib, buildPythonPackage, fetchPypi
, six, nose, unittest2, mock }:
{ lib
, buildPythonPackage
, fetchPypi
, nose
, pythonOlder
, pytestCheckHook
, six
}:
buildPythonPackage rec {
pname = "case";
version = "1.5.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "48432b01d91913451c3512c5b90e31b0f348f1074b166a3431085eb70d784fb1";
};
propagatedBuildInputs = [ six nose unittest2 mock ];
propagatedBuildInputs = [
nose
six
];
# No real unittests, only coverage
doCheck = false;
pythonImportsCheck = [
"case"
];
meta = with lib; {
homepage = "https://github.com/celery/case";
description = "unittests utilities";
description = "Utilities for unittests handling";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}