Merge pull request #330696 from Sigmanificient/ptable
python312Packages.ptable: drop nose dependency
This commit is contained in:
commit
abb8d55386
@ -2,13 +2,14 @@
|
|||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
nose,
|
setuptools,
|
||||||
|
pytestCheckHook,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
pname = "ptable";
|
pname = "ptable";
|
||||||
version = "unstable-2019-06-14";
|
version = "unstable-2019-06-14";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
# https://github.com/kxxoling/PTable/issues/27
|
# https://github.com/kxxoling/PTable/issues/27
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -18,11 +19,9 @@ buildPythonPackage {
|
|||||||
sha256 = "1cj314rp6irlvr0a2c4xffsm2idsb0hzwr38vzz6z3kbhphcb63i";
|
sha256 = "1cj314rp6irlvr0a2c4xffsm2idsb0hzwr38vzz6z3kbhphcb63i";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [ nose ];
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
checkPhase = ''
|
nativeCheckInputs = [ pytestCheckHook ];
|
||||||
nosetests --with-coverage --cover-package=prettytable --cover-min-percentage=75
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/kxxoling/PTable";
|
homepage = "https://github.com/kxxoling/PTable";
|
||||||
|
Loading…
Reference in New Issue
Block a user