mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
python311Packages.tatsu: remove pytest-runner
- add changelog to meta
This commit is contained in:
parent
4c52672699
commit
1e09392c23
@ -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; [ ];
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user