1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, six
5, pytest
6}:
7
8buildPythonPackage rec {
9 pname = "w3lib";
10 version = "1.21.0";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "05a3fxi4f43n0dc87lizsy2h84dxvqjy0q6rhkyabdbhypz5864b";
15 };
16
17 buildInputs = [ six pytest ];
18
19 meta = with stdenv.lib; {
20 description = "A library of web-related functions";
21 homepage = "https://github.com/scrapy/w3lib";
22 license = licenses.bsd3;
23 maintainers = with maintainers; [ drewkett ];
24 };
25
26}