python3Packages.ntc-templates: switch to use pythonOlder

This commit is contained in:
Fabian Affolter 2021-11-16 12:10:19 +01:00 committed by GitHub
parent b004c68f56
commit 659392fe20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";