From 1e09392c23231749763cd2dbbb674c994f6993fa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 9 Jun 2023 13:28:06 +0200 Subject: [PATCH] python311Packages.tatsu: remove pytest-runner - add changelog to meta --- .../python-modules/tatsu/default.nix | 32 +++++++++++++------ 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/tatsu/default.nix b/pkgs/development/python-modules/tatsu/default.nix index 9351784e905e..5d787e360a75 100644 --- a/pkgs/development/python-modules/tatsu/default.nix +++ b/pkgs/development/python-modules/tatsu/default.nix @@ -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; [ ]; }; - }