From 4b60e86f2e07dbbcdb2970cfe8520d68fb3e2ec0 Mon Sep 17 00:00:00 2001 From: Evgeny Pisemsky Date: Thu, 19 Mar 2026 17:10:00 +0300 Subject: [PATCH] gnu: Add python-pykka. * gnu/packages/python-xyz.scm (python-pykka): New variable. Merges guix/guix!7294 Change-Id: I358716cfbfeea0d05fa02b3aca52f16116b5c899 Signed-off-by: Cayetano Santos Modified-by: Cayetano Santos --- gnu/packages/python-xyz.scm | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a369718998..a9bff220bd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -119,7 +119,7 @@ ;;; Copyright © 2021 Greg Hogan ;;; Copyright © 2022, 2023 John Kehayias ;;; Copyright © 2022 Aleksandr Vityazev -;;; Copyright © 2022, 2024, 2025 Evgeny Pisemsky +;;; Copyright © 2022, 2024-2026 Evgeny Pisemsky ;;; Copyright © 2022 drozdov ;;; Copyright © 2022 Peter Polidoro ;;; Copyright © 2022, 2023 Wamm K. D. @@ -21292,6 +21292,29 @@ Protocol) 0-9-1 protocol that tries to stay fairly independent of the underlying network support library.") (license license:bsd-3))) +(define-public python-pykka + (package + (name "python-pykka") + (version "4.4.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jodal/pykka") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "15z6x31269l0zbxjv8afgi34smrh5fd3iwbjyh1342msry6msgla")))) + (build-system pyproject-build-system) + (native-inputs (list python-hatchling python-pytest python-pytest-mock)) + (home-page "https://pykka.readthedocs.io") + (synopsis "Implementation of the actor model") + (description + "Pykka implements the actor model in Python, which introduces some simple +rules to control the sharing of state and cooperation between execution units, +and makes it easier to build concurrent applications.") + (license license:asl2.0))) + ;; WARNING: This package is a dependency of mesa. (define-public python-ply (package