summaryrefslogtreecommitdiff
path: root/gnu/packages/simulation.scm
diff options
context:
space:
mode:
authorFrancisco-Galindo <yo@franciscogalindo.com>2025-12-21 00:23:52 -0600
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-21 22:08:56 +0000
commit303b10692b8c7f792deeada14f5b6c5cc51362b8 (patch)
tree6d796f3bcd4b14baa00ea8f7c899fb91e46ecfa5 /gnu/packages/simulation.scm
parent4d033008a28a32727432eb1b9a46b8583662545d (diff)
gnu: Add python-simpy.
* gnu/packages/simulation.scm (python-simpy): New variable. Change-Id: Ic95e6b0656dc2e2deffb543491c64ad5ae14632c Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/simulation.scm')
-rw-r--r--gnu/packages/simulation.scm35
1 files changed, 34 insertions, 1 deletions
diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 6d2a97799b6..a3fc946de41 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -5,7 +5,8 @@
;;; Copyright © 2022 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2023 Reza Housseini <reza@housseini.me>
;;; Copyright © 2024 Ricardo Wurmus <rekado@elephly.net>
-;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2024-2025 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2025 Francisco-Galindo <yo@franciscogalindo.com>
;;;
;;; 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")