blob: 7d76ef5d80aa33a8d211eda164519fc8050af2ba (
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
30
31
32
33
34
|
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, pythonAtLeast
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "parso";
version = "0.8.3";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-jAe+KQu1nwNYiRWSHinopQACrK8s3F+g4BFPkXCfr6A=";
};
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = lib.optionals (pythonAtLeast "3.10") [
# python changed exception message format in 3.10, 3.10 not yet supported
"test_python_exception_matches"
];
meta = with lib; {
description = "A Python Parser";
homepage = "https://parso.readthedocs.io/en/latest/";
changelog = "https://github.com/davidhalter/parso/blob/master/CHANGELOG.rst";
license = licenses.mit;
};
}
|