8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
29 lines
602 B
Nix
29 lines
602 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sly";
|
|
version = "0.4";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0an31bm5m8wqwphanmcsbbnmycy6l4xkmg4za4bwq8hk4dm2dwp5";
|
|
};
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
# tests not included with pypi release
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "An improved PLY implementation of lex and yacc for Python 3";
|
|
homepage = "https://github.com/dabeaz/sly";
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|