diff options
author | Orivej Desh <orivej@gmx.fr> | 2018-12-25 23:10:21 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2018-12-26 02:52:28 +0000 |
commit | c6f90688045073c5624b65e42e0a4be1564b7c2c (patch) | |
tree | ae19fb0459c717933e62bf800267f634857c32a2 /pkgs/development | |
parent | f2eb5692506d54ffddaf2410313293d6d58d6d8b (diff) | |
download | nixpkgs-c6f90688045073c5624b65e42e0a4be1564b7c2c.tar nixpkgs-c6f90688045073c5624b65e42e0a4be1564b7c2c.tar.gz nixpkgs-c6f90688045073c5624b65e42e0a4be1564b7c2c.tar.bz2 nixpkgs-c6f90688045073c5624b65e42e0a4be1564b7c2c.tar.lz nixpkgs-c6f90688045073c5624b65e42e0a4be1564b7c2c.tar.xz nixpkgs-c6f90688045073c5624b65e42e0a4be1564b7c2c.tar.zst nixpkgs-c6f90688045073c5624b65e42e0a4be1564b7c2c.zip |
pythonPackages.parsel: fix for Python 2
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/parsel/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/parsel/default.nix b/pkgs/development/python-modules/parsel/default.nix index 0135b98cbda..9ebd5e9b9ea 100644 --- a/pkgs/development/python-modules/parsel/default.nix +++ b/pkgs/development/python-modules/parsel/default.nix @@ -1,8 +1,9 @@ -{ stdenv +{ lib , buildPythonPackage , fetchPypi , pytest , pytestrunner +, functools32 , six , w3lib , lxml @@ -19,13 +20,13 @@ buildPythonPackage rec { }; buildInputs = [ pytest pytestrunner ]; - propagatedBuildInputs = [ six w3lib lxml cssselect ]; + propagatedBuildInputs = [ functools32 six w3lib lxml cssselect ]; checkPhase = '' py.test ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/scrapy/parsel"; description = "Parsel is a library to extract data from HTML and XML using XPath and CSS selectors"; license = licenses.bsd3; |