diff --git a/pkgs/development/python-modules/netmiko/default.nix b/pkgs/development/python-modules/netmiko/default.nix index 454949675979..90ae38fa4028 100644 --- a/pkgs/development/python-modules/netmiko/default.nix +++ b/pkgs/development/python-modules/netmiko/default.nix @@ -13,16 +13,18 @@ textfsm, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "netmiko"; version = "4.7.0"; pyproject = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-lM97/l2u0dBYREzhY34QF33yL5A2g6U9H77kdVNIjGU="; }; + pythonRelaxDeps = [ "paramiko" ]; + build-system = [ poetry-core ]; dependencies = [ @@ -44,8 +46,8 @@ buildPythonPackage rec { meta = { description = "Multi-vendor library to simplify Paramiko SSH connections to network devices"; homepage = "https://github.com/ktbyers/netmiko/"; - changelog = "https://github.com/ktbyers/netmiko/releases/tag/v${version}"; + changelog = "https://github.com/ktbyers/netmiko/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = [ lib.maintainers.astro ]; }; -} +})