Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 612 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "sly"; 10 version = "0.3"; 11 disabled = pythonOlder "3.6"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "be6a3825b042a9e1b6f5730fc747e6d983c917f0f002d798d0b9f86ca5c05ad9"; 16 }; 17 18 checkInputs = [ pytest ]; 19 20 # tests not included with pypi release 21 doCheck = false; 22 23 meta = with lib; { 24 description = "An improved PLY implementation of lex and yacc for Python 3"; 25 homepage = https://github.com/dabeaz/sly; 26 license = licenses.bsd3; 27 maintainers = [ maintainers.costrouc ]; 28 }; 29}