python3Packages.tls-parser: disable for Python < 3.7

This commit is contained in:
Vincent Haupert
2021-05-08 11:41:56 -07:00
committed by Jonathan Ringer
parent 33886abdfe
commit ebc050cb5e
@@ -1,5 +1,5 @@
{ lib { lib
, isPy27 , pythonOlder
, fetchFromGitHub , fetchFromGitHub
, buildPythonPackage , buildPythonPackage
, pytestCheckHook , pytestCheckHook
@@ -8,7 +8,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "tls-parser"; pname = "tls-parser";
version = "1.2.2"; version = "1.2.2";
disabled = isPy27; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nabla-c0d3"; owner = "nabla-c0d3";