python3Packages.parso: 0.8.4 -> 0.8.5
https://github.com/davidhalter/parso/blob/v0.8.5/CHANGELOG.rst
This commit is contained in:
committed by
Robert Schütz
parent
8a8ddcc2ee
commit
0222a22c64
@@ -1,34 +1,31 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonAtLeast,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "parso";
|
||||
version = "0.8.4";
|
||||
format = "setuptools";
|
||||
disabled = pythonOlder "3.6";
|
||||
version = "0.8.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-6zp7WCQPuZCZo0VXHe7MD5VA6l9N0v4UwqmdaygauS0=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "davidhalter";
|
||||
repo = "parso";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-faSXCrOkybLr0bboF/8rPV/Humq8s158A3UOpdlYi0I=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
disabledTests = lib.optionals (pythonAtLeast "3.10") [
|
||||
# python changed exception message format in 3.10, 3.10 not yet supported
|
||||
"test_python_exception_matches"
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python Parser";
|
||||
homepage = "https://parso.readthedocs.io/en/latest/";
|
||||
changelog = "https://github.com/davidhalter/parso/blob/master/CHANGELOG.rst";
|
||||
changelog = "https://github.com/davidhalter/parso/blob/${src.tag}/CHANGELOG.rst";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user