depot/third_party/nixpkgs/pkgs/development/python-modules/w3lib/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

35 lines
723 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonOlder,
setuptools
}:
buildPythonPackage rec {
pname = "w3lib";
version = "2.2.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-dW/y2Uxk5ByNfAxZ/qEqXQvFXjOlMceYi0oWPeubB90=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "w3lib" ];
meta = with lib; {
description = "Library of web-related functions";
homepage = "https://github.com/scrapy/w3lib";
changelog = "https://github.com/scrapy/w3lib/blob/v${version}/NEWS";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}