summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/tls-parser/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/tls-parser/default.nix')
-rw-r--r--pkgs/development/python-modules/tls-parser/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/tls-parser/default.nix b/pkgs/development/python-modules/tls-parser/default.nix
index 5b6bfe6a0e28..ad35fe501282 100644
--- a/pkgs/development/python-modules/tls-parser/default.nix
+++ b/pkgs/development/python-modules/tls-parser/default.nix
@@ -1,5 +1,5 @@
{ lib
-, isPy27
+, pythonOlder
, fetchFromGitHub
, buildPythonPackage
, pytestCheckHook
@@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "tls-parser";
version = "1.2.2";
- disabled = isPy27;
+ disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "nabla-c0d3";
@@ -19,6 +19,8 @@ buildPythonPackage rec {
checkInputs = [ pytestCheckHook ];
+ pythonImportsCheck = [ "tls_parser" ];
+
meta = with lib; {
homepage = "https://github.com/nabla-c0d3/tls_parser";
description = "Small library to parse TLS records";