python3Packages.sre-yield: modernize

This commit is contained in:
Harinn
2026-07-31 23:52:38 +07:00
parent 3c40c93a82
commit f5c0af4057

View File

@@ -11,6 +11,8 @@ buildPythonPackage (finalAttrs: {
version = "1.2";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
pname = "sre_yield";
inherit (finalAttrs) version;
@@ -21,6 +23,8 @@ buildPythonPackage (finalAttrs: {
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "sre_yield" ];
meta = {
description = "Python library to efficiently generate all values that can match a given regular expression";
mainProgram = "demo_sre_yield";