From 659392fe20a5582cc118b0072099a95a7f0689c6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 16 Nov 2021 12:10:19 +0100 Subject: [PATCH] python3Packages.ntc-templates: switch to use pythonOlder --- pkgs/development/python-modules/ntc-templates/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ntc-templates/default.nix b/pkgs/development/python-modules/ntc-templates/default.nix index 9e8601dfd069..28125e54edbf 100644 --- a/pkgs/development/python-modules/ntc-templates/default.nix +++ b/pkgs/development/python-modules/ntc-templates/default.nix @@ -1,7 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub -, isPy27 +, pythonOlder , poetry-core , textfsm , pytestCheckHook @@ -13,7 +13,8 @@ buildPythonPackage rec { pname = "ntc-templates"; version = "3.0.0"; format = "pyproject"; - disabled = isPy27; + + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "networktocode";