pythonPackages.protego: init at 0.1.16
This commit is contained in:
parent
a437fe2565
commit
26d0577ef2
30
pkgs/development/python-modules/protego/default.nix
Normal file
30
pkgs/development/python-modules/protego/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, six
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Protego";
|
||||
version = "0.1.16";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a682771bc7b51b2ff41466460896c1a5a653f9a1e71639ef365a72e66d8734b4";
|
||||
};
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A pure-Python robots.txt parser with support for modern conventions";
|
||||
homepage = "https://github.com/scrapy/protego";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
};
|
||||
}
|
@ -5189,6 +5189,8 @@ in {
|
||||
|
||||
progressbar33 = callPackage ../development/python-modules/progressbar33 { };
|
||||
|
||||
protego = callPackage ../development/python-modules/protego {};
|
||||
|
||||
ldap = callPackage ../development/python-modules/ldap {
|
||||
inherit (pkgs) openldap cyrus_sasl;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user