diff --git a/pkgs/development/python-modules/leather/default.nix b/pkgs/development/python-modules/leather/default.nix index 1127b7a298c2..af2cb219cdbd 100644 --- a/pkgs/development/python-modules/leather/default.nix +++ b/pkgs/development/python-modules/leather/default.nix @@ -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";