Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 597 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, six 5, pytest 6}: 7 8buildPythonPackage rec { 9 pname = "Protego"; 10 version = "0.2.1"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-32ZtQwTat3Ti3J/rIIuxrI1x6lzuwS9MmeujD71kL/I="; 15 }; 16 propagatedBuildInputs = [ six ]; 17 18 nativeCheckInputs = [ pytest ]; 19 20 checkPhase = '' 21 pytest tests 22 ''; 23 24 meta = with lib; { 25 description = "A pure-Python robots.txt parser with support for modern conventions"; 26 homepage = "https://github.com/scrapy/protego"; 27 license = licenses.bsd3; 28 maintainers = [ maintainers.marsam ]; 29 }; 30}