2017-10-25 19:04:35 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-09-10 03:07:05 +01:00
|
|
|
, pythonOlder
|
|
|
|
, pytestCheckHook
|
2017-10-25 19:04:35 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "parso";
|
2020-08-16 18:31:09 +01:00
|
|
|
version = "0.8.0";
|
2020-09-10 03:07:05 +01:00
|
|
|
disabled = pythonOlder "3.6";
|
2017-10-25 19:04:35 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 18:31:09 +01:00
|
|
|
sha256 = "2b6db14759c528d857eeb9eac559c2166b2554548af39f5198bdfb976f72aa64";
|
2017-10-25 19:04:35 +01:00
|
|
|
};
|
|
|
|
|
2020-09-10 03:07:05 +01:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2017-10-25 19:04:35 +01:00
|
|
|
|
2020-09-10 03:07:05 +01:00
|
|
|
meta = with lib; {
|
2017-10-25 19:04:35 +01:00
|
|
|
description = "A Python Parser";
|
2020-09-10 03:07:05 +01:00
|
|
|
homepage = "https://parso.readthedocs.io/en/latest/";
|
|
|
|
changelog = "https://github.com/davidhalter/parso/blob/master/CHANGELOG.rst";
|
|
|
|
license = licenses.mit;
|
2017-10-25 19:04:35 +01:00
|
|
|
};
|
2018-05-24 11:19:19 +01:00
|
|
|
}
|