2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-29 20:52:14 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "w3lib";
|
2020-05-24 04:22:50 +01:00
|
|
|
version = "1.22.0";
|
2018-10-29 20:52:14 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-24 04:22:50 +01:00
|
|
|
sha256 = "1pv02lvvmgz2qb61vz1jkjc04fgm4hpfvaj5zm4i3mjp64hd1mha";
|
2018-10-29 20:52:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ six pytest ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-29 20:52:14 +00:00
|
|
|
description = "A library of web-related functions";
|
|
|
|
homepage = "https://github.com/scrapy/w3lib";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ drewkett ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|