summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-03-08 22:41:54 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-03-08 22:41:54 +0000
commita74606178ce1ec42d61596d0fc2ff57c1e1eaeb0 (patch)
tree23b21d64a91c0918b3eb412ed0f6b36912777267 /gnu/packages/python-web.scm
parentceadf4d9559b95298cc24833910fba8e725bf965 (diff)
gnu: Add python-librouteros.
* gnu/packages/python-web.scm (python-librouteros): New variable. Change-Id: I155fa476b9cb1865bbf4f84d0275bfe1e2a3ee06
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4326d49c9dc..6c73e2488b1 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")