From b163b113a0cdf4660be803ece6841a65372b573e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 30 Jun 2021 19:42:16 +0200 Subject: [PATCH] flare-floss: migrate to py3 --- pkgs/tools/security/flare-floss/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/security/flare-floss/default.nix b/pkgs/tools/security/flare-floss/default.nix index 954dd07d6ab..fbf065dc3b1 100644 --- a/pkgs/tools/security/flare-floss/default.nix +++ b/pkgs/tools/security/flare-floss/default.nix @@ -1,8 +1,9 @@ { lib -, python2 +, python3 , fetchFromGitHub }: -python2.pkgs.buildPythonPackage rec { + +python3.pkgs.buildPythonPackage rec { pname = "flare-floss"; version = "1.7.0"; @@ -13,18 +14,17 @@ python2.pkgs.buildPythonPackage rec { sha256 = "GMOA1+qM2A/Qw33kOTIINEvjsfqjWQWBXHNemh3IK8w="; }; - propagatedBuildInputs = with python2.pkgs; [ + propagatedBuildInputs = with python3.pkgs; [ pyyaml simplejson tabulate vivisect plugnplay viv-utils - enum34 ]; - checkInputs = [ - python2.pkgs.pytestCheckHook + checkInputs = with python3.pkgs; [ + pytestCheckHook ]; disabledTests = [