python3Packages.leather: fix tests

This commit is contained in:
Martin Weinelt 2021-10-10 04:56:41 +02:00
parent 9e52af5181
commit 6f565484b2

View file

@ -1,4 +1,11 @@
{ lib, fetchPypi, buildPythonPackage, six }:
{ lib
, fetchPypi
, buildPythonPackage
, six
, cssselect
, lxml
, nose
}:
buildPythonPackage rec {
pname = "leather";
@ -11,6 +18,18 @@ buildPythonPackage rec {
propagatedBuildInputs = [ six ];
checkInputs = [
cssselect
lxml
nose
];
checkPhase = ''
runHook preCheck
nosetests
runHook postCheck
'';
meta = with lib; {
homepage = "http://leather.rtfd.io";
description = "Python charting library";