mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
python3Packages.sre-yield: modernize
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user