pythonPackages.parsel: fix for Python 2
This commit is contained in:
parent
f2eb569250
commit
c6f9068804
@ -1,8 +1,9 @@
|
|||||||
{ stdenv
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytest
|
, pytest
|
||||||
, pytestrunner
|
, pytestrunner
|
||||||
|
, functools32
|
||||||
, six
|
, six
|
||||||
, w3lib
|
, w3lib
|
||||||
, lxml
|
, lxml
|
||||||
@ -19,13 +20,13 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytest pytestrunner ];
|
buildInputs = [ pytest pytestrunner ];
|
||||||
propagatedBuildInputs = [ six w3lib lxml cssselect ];
|
propagatedBuildInputs = [ functools32 six w3lib lxml cssselect ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test
|
py.test
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/scrapy/parsel";
|
homepage = "https://github.com/scrapy/parsel";
|
||||||
description = "Parsel is a library to extract data from HTML and XML using XPath and CSS selectors";
|
description = "Parsel is a library to extract data from HTML and XML using XPath and CSS selectors";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
Loading…
Reference in New Issue
Block a user