mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
python310Packages.protego: 0.2.1 -> 0.3.0
Diff: https://github.com/scrapy/protego/compare/0.2.1...0.3.0 Changelog: https://github.com/scrapy/protego/blob/0.3.0/CHANGELOG.rst
This commit is contained in:
parent
c1ac598475
commit
6760bcd1ab
@ -1,29 +1,30 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, six
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Protego";
|
||||
version = "0.2.1";
|
||||
pname = "protego";
|
||||
version = "0.3.0";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-32ZtQwTat3Ti3J/rIIuxrI1x6lzuwS9MmeujD71kL/I=";
|
||||
inherit version;
|
||||
pname = "Protego";
|
||||
hash = "sha256-BCKL/95Ma8ujHPZSm6LP1uG3CAj9wdLLQwG+ayjWxWg=";
|
||||
};
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
nativeCheckInputs = [ pytest ];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests
|
||||
'';
|
||||
pythonImportsCheck = [ "protego" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A pure-Python robots.txt parser with support for modern conventions";
|
||||
homepage = "https://github.com/scrapy/protego";
|
||||
changelog = "https://github.com/scrapy/protego/blob/${version}/CHANGELOG.rst";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user