2018-10-29 21:52:14 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "w3lib";
|
2019-01-16 16:43:14 +01:00
|
|
|
version = "1.20.0";
|
2018-10-29 21:52:14 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-16 16:43:14 +01:00
|
|
|
sha256 = "1mqwlc1cr15jxr3gr8pqqh5gf0gppm2kcvdi8vid6y8wmq9bjkg5";
|
2018-10-29 21:52:14 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ six pytest ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A library of web-related functions";
|
|
|
|
homepage = "https://github.com/scrapy/w3lib";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ drewkett ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|