about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2021-11-16 12:10:19 +0100
committerGitHub <noreply@github.com>2021-11-16 12:10:19 +0100
commit659392fe20a5582cc118b0072099a95a7f0689c6 (patch)
tree5013f2f000b83c2633f81bb0d4eb9b6dc2a7a106
parentb004c68f5698fc255a6f1df3d2fd76d24c432ed6 (diff)
python3Packages.ntc-templates: switch to use pythonOlder
-rw-r--r--pkgs/development/python-modules/ntc-templates/default.nix5
1 files 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 9e8601dfd0698..28125e54edbfe 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";