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