evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / protego / default.nix
blobbf2fb99c36afa152f69e18b651960dbf282048d0
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytestCheckHook,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "protego";
12   version = "0.3.1";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit version;
19     pname = "Protego";
20     hash = "sha256-6UQw0NJcu/I5vISdhsXlRPveUx/Mz6BZlTx9o0ShcSw=";
21   };
23   nativeBuildInputs = [ setuptools ];
25   nativeCheckInputs = [ pytestCheckHook ];
27   pythonImportsCheck = [ "protego" ];
29   meta = with lib; {
30     description = "Module to parse robots.txt files with support for modern conventions";
31     homepage = "https://github.com/scrapy/protego";
32     changelog = "https://github.com/scrapy/protego/blob/${version}/CHANGELOG.rst";
33     license = licenses.bsd3;
34     maintainers = [ ];
35   };