mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
python3Packages.leather: fix tests
This commit is contained in:
parent
9e52af5181
commit
6f565484b2
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue