1{ lib
2, buildPythonPackage
3, fetchPypi
4, six
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "w3lib";
10 version = "2.0.1";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "sha256-E98V+MF7Fj3g/V+qiSwa0UPhkN/L25hTS7l16zfGx9Y=";
15 };
16
17 propagatedBuildInputs = [ six ];
18
19 checkInputs = [ pytestCheckHook ];
20 pythonImportsCheck = [ "w3lib" ];
21
22 disabledTests = [
23 "test_add_or_replace_parameter"
24 ];
25
26 meta = with lib; {
27 description = "A library of web-related functions";
28 homepage = "https://github.com/scrapy/w3lib";
29 license = licenses.bsd3;
30 maintainers = with maintainers; [ ];
31 };
32}