75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
32 lines
641 B
Nix
32 lines
641 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, six
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "w3lib";
|
|
version = "1.22.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1pv02lvvmgz2qb61vz1jkjc04fgm4hpfvaj5zm4i3mjp64hd1mha";
|
|
};
|
|
|
|
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; [ drewkett ];
|
|
};
|
|
}
|