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 { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, isPy27 , pythonOlder
, poetry-core , poetry-core
, textfsm , textfsm
, pytestCheckHook , pytestCheckHook
@ -13,7 +13,8 @@ buildPythonPackage rec {
pname = "ntc-templates"; pname = "ntc-templates";
version = "3.0.0"; version = "3.0.0";
format = "pyproject"; format = "pyproject";
disabled = isPy27;
disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "networktocode"; owner = "networktocode";