guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 303b10692b8c7f792deeada14f5b6c5cc51362b8
Author: Francisco-Galindo <[email protected]>
AuthorDate: Sun Dec 21 00:23:52 2025 -0600

    gnu: Add python-simpy.
    
    * gnu/packages/simulation.scm (python-simpy): New variable.
    
    Change-Id: Ic95e6b0656dc2e2deffb543491c64ad5ae14632c
    Modified-by: Sharlatan Hellseher <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/simulation.scm | 35 ++++++++++++++++++++++++++++++++++-
 1 file changed, 34 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 6d2a97799b..a3fc946de4 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -5,7 +5,8 @@
 ;;; Copyright © 2022 Liliana Marie Prikler <[email protected]>
 ;;; Copyright © 2023 Reza Housseini <[email protected]>
 ;;; Copyright © 2024 Ricardo Wurmus <[email protected]>
-;;; Copyright © 2024 Sharlatan Hellseher <[email protected]>
+;;; Copyright © 2024-2025 Sharlatan Hellseher <[email protected]>
+;;; Copyright © 2025 Francisco-Galindo <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1374,6 +1375,38 @@ made possible.  The package provides a Python library 
together with a
 command-line utility for mesh optimisation.")
     (license license:gpl3+)))
 
+(define-public python-simpy
+  (package
+    (name "python-simpy")
+    (version "4.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "simpy" version))
+       (sha256
+        (base32 "19h1a3wxygyi819njmnl8cbmzvflqv3hpki0iq71xcc4g057bl06"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; tests: 141 passed, 10 deselected, 10 warnings
+      #:test-flags
+      ;; Doctests require deprecated python-py.
+      #~(list "--ignore=docs/")))
+    (native-inputs
+     (list python-pytest
+           python-setuptools
+           python-setuptools-scm))
+    (home-page "https://gitlab.com/team-simpy/simpy";)
+    (synopsis "Process-based discrete-event simulation framework")
+    (description
+     "SimPy is a process-based discrete-event simulation framework based
+on standard Python.  Processes in SimPy are defined by Python generator
+functions and can, for example, be used to model active components like
+customers, vehicles or agents.  SimPy also provides various types of shared
+resources to model limited capacity congestion points (like servers, checkout
+counters and tunnels).")
+    (license license:bsd-2)))
+
 (define-public python-dolfin-adjoint
   (package
     (name "python-dolfin-adjoint")

Reply via email to