1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "parso";
10 version = "0.8.0";
11 disabled = pythonOlder "3.6";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "2b6db14759c528d857eeb9eac559c2166b2554548af39f5198bdfb976f72aa64";
16 };
17
18 checkInputs = [ pytestCheckHook ];
19
20 meta = with lib; {
21 description = "A Python Parser";
22 homepage = "https://parso.readthedocs.io/en/latest/";
23 changelog = "https://github.com/davidhalter/parso/blob/master/CHANGELOG.rst";
24 license = licenses.mit;
25 };
26}