2018-10-29 20:52:14 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "w3lib";
|
2019-08-20 18:03:50 +01:00
|
|
|
version = "1.21.0";
|
2018-10-29 20:52:14 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-20 18:03:50 +01:00
|
|
|
sha256 = "05a3fxi4f43n0dc87lizsy2h84dxvqjy0q6rhkyabdbhypz5864b";
|
2018-10-29 20:52:14 +00: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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|