From 6c74308bfc5de56de1bede90bb4766ca193cf6c4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 25 Nov 2024 12:39:38 +0100 Subject: [PATCH] python312Packages.librouteros: 3.2.1 -> 3.3.0 Changelog: https://github.com/luqasz/librouteros/blob/3.3.0/CHANGELOG.rst --- .../python-modules/librouteros/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/librouteros/default.nix b/pkgs/development/python-modules/librouteros/default.nix index 8db1f4a3356e..c1892e247860 100644 --- a/pkgs/development/python-modules/librouteros/default.nix +++ b/pkgs/development/python-modules/librouteros/default.nix @@ -5,12 +5,13 @@ pytest-xdist, pytest7CheckHook, pythonOlder, - setuptools, + poetry-core, + toml, }: buildPythonPackage rec { pname = "librouteros"; - version = "3.2.1"; + version = "3.3.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -19,10 +20,12 @@ buildPythonPackage rec { owner = "luqasz"; repo = "librouteros"; rev = "refs/tags/${version}"; - hash = "sha256-VwpZ1RY6Sul7xvWY7ZoOxZ7KgbRmKRwcVdF9e2b3f6Q="; + hash = "sha256-dbeKJ3iG0eEW+sJJoZmQXyUad6mPhIlCAdJyQZT+CCQ="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ poetry-core ]; + + dependencies = [ toml ]; nativeCheckInputs = [ pytest-xdist @@ -47,7 +50,7 @@ buildPythonPackage rec { description = "Python implementation of the MikroTik RouterOS API"; homepage = "https://librouteros.readthedocs.io/"; changelog = "https://github.com/luqasz/librouteros/blob/${version}/CHANGELOG.rst"; - license = with licenses; [ gpl2Only ]; + license = licenses.gpl2Only; maintainers = with maintainers; [ fab ]; }; }