guix_mirror_bot pushed a commit to branch master
in repository guix.
commit a74606178ce1ec42d61596d0fc2ff57c1e1eaeb0
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Mar 8 22:41:54 2026 +0000
gnu: Add python-librouteros.
* gnu/packages/python-web.scm (python-librouteros): New variable.
Change-Id: I155fa476b9cb1865bbf4f84d0275bfe1e2a3ee06
---
gnu/packages/python-web.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4326d49c9d..6c73e2488b 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1689,6 +1689,36 @@ feaatures are:
in Python 3.13 by PEP-594.")
(license license:psfl)))
+(define-public python-librouteros
+ (package
+ (name "python-librouteros")
+ (version "4.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/luqasz/librouteros")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0in952b2idb5j8v6sxfm21gqbr5i5776w5ir0hdsxjrl2f29305v"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:build-backend "hatchling.build"
+ #:test-flags
+ #~(list "tests/unit")))
+ (native-inputs
+ (list python-hatchling
+ python-pytest
+ python-pytest-asyncio
+ python-stamina))
+ (home-page "https://github.com/luqasz/librouteros")
+ (synopsis "Python implementation of MikroTik RouterOS API")
+ (description
+ "This package implements MikroTik's @code{RouterOS} API.")
+ (license license:gpl2+)))
+
(define-public python-opentelemetry-api
(package
(name "python-opentelemetry-api")