about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sly/default.nix
blob: b13c41be7276c9a62addd8040f0cd8088d6ca052 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pythonOlder
}:

buildPythonPackage rec {
  pname = "sly";
  version = "0.5";
  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-JR1CAV6FBxWK7CFk8GA130qCsDFM5kUPRX1xJedkkCQ=";
  };

  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 ];
  };
}