diff options
| author | Francisco-Galindo <yo@franciscogalindo.com> | 2025-12-21 00:23:52 -0600 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-21 22:08:56 +0000 |
| commit | 303b10692b8c7f792deeada14f5b6c5cc51362b8 (patch) | |
| tree | 6d796f3bcd4b14baa00ea8f7c899fb91e46ecfa5 /gnu/packages/simulation.scm | |
| parent | 4d033008a28a32727432eb1b9a46b8583662545d (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.scm | 35 |
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 @@ | |||
| 5 | ;;; Copyright © 2022 Liliana Marie Prikler <liliana.prikler@gmail.com> | 5 | ;;; Copyright © 2022 Liliana Marie Prikler <liliana.prikler@gmail.com> |
| 6 | ;;; Copyright © 2023 Reza Housseini <reza@housseini.me> | 6 | ;;; Copyright © 2023 Reza Housseini <reza@housseini.me> |
| 7 | ;;; Copyright © 2024 Ricardo Wurmus <rekado@elephly.net> | 7 | ;;; Copyright © 2024 Ricardo Wurmus <rekado@elephly.net> |
| 8 | ;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com> | 8 | ;;; Copyright © 2024-2025 Sharlatan Hellseher <sharlatanus@gmail.com> |
| 9 | ;;; Copyright © 2025 Francisco-Galindo <yo@franciscogalindo.com> | ||
| 9 | ;;; | 10 | ;;; |
| 10 | ;;; This file is part of GNU Guix. | 11 | ;;; This file is part of GNU Guix. |
| 11 | ;;; | 12 | ;;; |
| @@ -1374,6 +1375,38 @@ made possible. The package provides a Python library together with a | |||
| 1374 | command-line utility for mesh optimisation.") | 1375 | command-line utility for mesh optimisation.") |
| 1375 | (license license:gpl3+))) | 1376 | (license license:gpl3+))) |
| 1376 | 1377 | ||
| 1378 | (define-public python-simpy | ||
| 1379 | (package | ||
| 1380 | (name "python-simpy") | ||
| 1381 | (version "4.1.1") | ||
| 1382 | (source | ||
| 1383 | (origin | ||
| 1384 | (method url-fetch) | ||
| 1385 | (uri (pypi-uri "simpy" version)) | ||
| 1386 | (sha256 | ||
| 1387 | (base32 "19h1a3wxygyi819njmnl8cbmzvflqv3hpki0iq71xcc4g057bl06")))) | ||
| 1388 | (build-system pyproject-build-system) | ||
| 1389 | (arguments | ||
| 1390 | (list | ||
| 1391 | ;; tests: 141 passed, 10 deselected, 10 warnings | ||
| 1392 | #:test-flags | ||
| 1393 | ;; Doctests require deprecated python-py. | ||
| 1394 | #~(list "--ignore=docs/"))) | ||
| 1395 | (native-inputs | ||
| 1396 | (list python-pytest | ||
| 1397 | python-setuptools | ||
| 1398 | python-setuptools-scm)) | ||
| 1399 | (home-page "https://gitlab.com/team-simpy/simpy") | ||
| 1400 | (synopsis "Process-based discrete-event simulation framework") | ||
| 1401 | (description | ||
| 1402 | "SimPy is a process-based discrete-event simulation framework based | ||
| 1403 | on standard Python. Processes in SimPy are defined by Python generator | ||
| 1404 | functions and can, for example, be used to model active components like | ||
| 1405 | customers, vehicles or agents. SimPy also provides various types of shared | ||
| 1406 | resources to model limited capacity congestion points (like servers, checkout | ||
| 1407 | counters and tunnels).") | ||
| 1408 | (license license:bsd-2))) | ||
| 1409 | |||
| 1377 | (define-public python-dolfin-adjoint | 1410 | (define-public python-dolfin-adjoint |
| 1378 | (package | 1411 | (package |
| 1379 | (name "python-dolfin-adjoint") | 1412 | (name "python-dolfin-adjoint") |
