summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/tls-parser
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
committerRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
commit4bc5fbef9d159e143fb7e2c3231932e6e76f667c (patch)
treee2198f5c552e0667d838b8ec764ddb3a4d8f6dec /pkgs/development/python-modules/tls-parser
parentjq: fix build with structured-attrs on darwin (diff)
parentMerge pull request #123802 from superherointj/package-virtmanager-bugfix (diff)
downloadnixpkgs-origin/structured-attrs.tar.gz
Merge remote-tracking branch 'upstream/master' into structured-attrsorigin/structured-attrs
Diffstat (limited to 'pkgs/development/python-modules/tls-parser')
-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";