mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
parsel: init at 1.0.3
This commit is contained in:
parent
3748990e59
commit
5ea0390493
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user