python311Packages.tatsu: remove pytest-runner
- add changelog to meta
This commit is contained in:
parent
4c52672699
commit
1e09392c23
1 changed files with 23 additions and 9 deletions
|
@ -1,12 +1,18 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
{ lib
|
||||||
, colorama, regex
|
, buildPythonPackage
|
||||||
, pytest-runner, pytestCheckHook, pytest-mypy
|
, colorama
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytest-mypy
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, regex
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tatsu";
|
pname = "tatsu";
|
||||||
version = "5.8.3";
|
version = "5.8.3";
|
||||||
# upstream only supports 3.10+
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.10";
|
disabled = pythonOlder "3.10";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -16,11 +22,19 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-cKEMRbH/xNtYM0lmNVazv3i0Q1tmVrVPrB6F2s02Sro=";
|
hash = "sha256-cKEMRbH/xNtYM0lmNVazv3i0Q1tmVrVPrB6F2s02Sro=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pytest-runner ];
|
propagatedBuildInputs = [
|
||||||
propagatedBuildInputs = [ colorama regex ];
|
colorama
|
||||||
nativeCheckInputs = [ pytestCheckHook pytest-mypy ];
|
regex
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "tatsu" ];
|
nativeCheckInputs = [
|
||||||
|
pytest-mypy
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"tatsu"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Generates Python parsers from grammars in a variation of EBNF";
|
description = "Generates Python parsers from grammars in a variation of EBNF";
|
||||||
|
@ -30,8 +44,8 @@ buildPythonPackage rec {
|
||||||
Python.
|
Python.
|
||||||
'';
|
'';
|
||||||
homepage = "https://tatsu.readthedocs.io/";
|
homepage = "https://tatsu.readthedocs.io/";
|
||||||
|
changelog = "https://github.com/neogeny/TatSu/releases/tag/v${version}";
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue