depot/third_party/nixpkgs/pkgs/development/python-modules/w3lib/default.nix
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

32 lines
630 B
Nix

{ 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; [ ];
};
}