parsel: init at 1.0.3

This commit is contained in:
Dario Bertini 2016-09-18 21:49:56 +01:00
parent 3748990e59
commit 5ea0390493
No known key found for this signature in database
GPG Key ID: F7C180DFCB78F7A0

View File

@ -17041,6 +17041,29 @@ in modules // {
};
};
parsel = buildPythonPackage rec {
name = "parsel-${version}";
version = "1.0.3";
src = pkgs.fetchurl {
url = "mirror://pypi/p/parsel/${name}.tar.gz";
sha256 = "9c12c370feda864c2f541cecce9bfb3a2a682c6c59c097a852e7b040dc6b8431";
};
buildInputs = with self; [ pytest ];
propagatedBuildInputs = with self; [ six w3lib lxml cssselect ];
checkPhase = ''
py.test
'';
meta = {
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;
};
};
partd = buildPythonPackage rec {
name = "partd-${version}";
version = "0.3.3";