python311Packages.tatsu: remove pytest-runner

- add changelog to meta
This commit is contained in:
Fabian Affolter 2023-06-09 13:28:06 +02:00
parent 4c52672699
commit 1e09392c23

View File

@ -1,12 +1,18 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
, colorama, regex
, pytest-runner, pytestCheckHook, pytest-mypy
{ lib
, buildPythonPackage
, colorama
, fetchFromGitHub
, pytest-mypy
, pytestCheckHook
, pythonOlder
, regex
}:
buildPythonPackage rec {
pname = "tatsu";
version = "5.8.3";
# upstream only supports 3.10+
format = "setuptools";
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
@ -16,11 +22,19 @@ buildPythonPackage rec {
hash = "sha256-cKEMRbH/xNtYM0lmNVazv3i0Q1tmVrVPrB6F2s02Sro=";
};
nativeBuildInputs = [ pytest-runner ];
propagatedBuildInputs = [ colorama regex ];
nativeCheckInputs = [ pytestCheckHook pytest-mypy ];
propagatedBuildInputs = [
colorama
regex
];
pythonImportsCheck = [ "tatsu" ];
nativeCheckInputs = [
pytest-mypy
pytestCheckHook
];
pythonImportsCheck = [
"tatsu"
];
meta = with lib; {
description = "Generates Python parsers from grammars in a variation of EBNF";
@ -30,8 +44,8 @@ buildPythonPackage rec {
Python.
'';
homepage = "https://tatsu.readthedocs.io/";
changelog = "https://github.com/neogeny/TatSu/releases/tag/v${version}";
license = licenses.bsd2;
maintainers = with maintainers; [ ];
};
}