From 5d16bcbce6e983efca6ff951cfde0c2e5460d85f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 24 Jan 2026 02:45:04 +0000 Subject: [PATCH 1/2] python3Packages.python3-eventlib: 0.3.0 -> 0.3.1 --- pkgs/development/python-modules/python3-eventlib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python3-eventlib/default.nix b/pkgs/development/python-modules/python3-eventlib/default.nix index db72b957efb4..e3994ff3ac35 100644 --- a/pkgs/development/python-modules/python3-eventlib/default.nix +++ b/pkgs/development/python-modules/python3-eventlib/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "python3-eventlib"; - version = "0.3.0"; + version = "0.3.1"; format = "setuptools"; disabled = !isPy3k; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "AGProjects"; repo = "python3-eventlib"; rev = version; - hash = "sha256-LFW3rCGa7A8tk6SjgYgjkLQ+72GE2WN8wG+XkXYTAoQ="; + hash = "sha256-jN9nn+rI4TJLrEiEIoVxQ3XnXWSws1FenGUfG3doc94="; }; propagatedBuildInputs = [ From 58a68455537e77f5fc7e014c26da2b6817f06d27 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 24 Jan 2026 11:21:32 +0100 Subject: [PATCH 2/2] python313Packages.python3-eventlib: modernize --- .../python3-eventlib/default.nix | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/python3-eventlib/default.nix b/pkgs/development/python-modules/python3-eventlib/default.nix index e3994ff3ac35..a2e63e597ffa 100644 --- a/pkgs/development/python-modules/python3-eventlib/default.nix +++ b/pkgs/development/python-modules/python3-eventlib/default.nix @@ -1,31 +1,31 @@ { lib, - fetchFromGitHub, buildPythonPackage, - isPy3k, - zope-interface, - twisted, + fetchFromGitHub, greenlet, + setuptools, + twisted, + zope-interface, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "python3-eventlib"; version = "0.3.1"; - format = "setuptools"; - - disabled = !isPy3k; + pyproject = true; src = fetchFromGitHub { owner = "AGProjects"; repo = "python3-eventlib"; - rev = version; + tag = finalAttrs.version; hash = "sha256-jN9nn+rI4TJLrEiEIoVxQ3XnXWSws1FenGUfG3doc94="; }; - propagatedBuildInputs = [ - zope-interface - twisted + build-system = [ setuptools ]; + + dependencies = [ greenlet + twisted + zope-interface ]; pythonImportsCheck = [ "eventlib" ]; @@ -33,13 +33,13 @@ buildPythonPackage rec { meta = { description = "Networking library written in Python"; homepage = "https://github.com/AGProjects/python3-eventlib"; - license = lib.licenses.lgpl21Plus; - maintainers = with lib.maintainers; [ chanley ]; longDescription = '' Eventlib is a networking library written in Python. It achieves high scalability by using non-blocking I/O while at the same time retaining high programmer usability by using coroutines to make the non-blocking io operations appear blocking at the source code level. ''; + license = lib.licenses.lgpl21Plus; + maintainers = with lib.maintainers; [ chanley ]; }; -} +})