fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / development / python-modules / w3lib / default.nix
blob96314e37ca7cbdf5142766792ab12ed39dcd71f6
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytestCheckHook,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "w3lib";
12   version = "2.2.1";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-dW/y2Uxk5ByNfAxZ/qEqXQvFXjOlMceYi0oWPeubB90=";
20   };
22   build-system = [ setuptools ];
24   nativeCheckInputs = [ pytestCheckHook ];
26   pythonImportsCheck = [ "w3lib" ];
28   meta = with lib; {
29     description = "Library of web-related functions";
30     homepage = "https://github.com/scrapy/w3lib";
31     changelog = "https://github.com/scrapy/w3lib/blob/v${version}/NEWS";
32     license = licenses.bsd3;
33     maintainers = [ ];
34   };