about summary refs log tree commit diff
path: root/pkgs/development/python-modules/w3lib/default.nix
blob: 9c98f4d0926cf4cbc07bcdedbb7ebb4cba1ce78d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib
, buildPythonPackage
, fetchPypi
, six
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "w3lib";
  version = "2.0.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-E98V+MF7Fj3g/V+qiSwa0UPhkN/L25hTS7l16zfGx9Y=";
  };

  propagatedBuildInputs = [ six ];

  checkInputs = [ pytestCheckHook ];
  pythonImportsCheck = [ "w3lib" ];

  disabledTests = [
    "test_add_or_replace_parameter"
  ];

  meta = with lib; {
    description = "A library of web-related functions";
    homepage = "https://github.com/scrapy/w3lib";
    license = licenses.bsd3;
    maintainers = with maintainers; [ ];
  };
}