Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / w3lib / default.nix
bloba626bdd6ec02a763340029829417ac62b206ce06
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , six
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "w3lib";
10   version = "1.22.0";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "1pv02lvvmgz2qb61vz1jkjc04fgm4hpfvaj5zm4i3mjp64hd1mha";
15   };
17   propagatedBuildInputs = [ six ];
19   checkInputs = [ pytestCheckHook ];
20   pythonImportsCheck = [ "w3lib" ];
22   disabledTests = [
23     "test_add_or_replace_parameter"
24   ];
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; [ drewkett ];
31   };