flare-floss: migrate to py3

This commit is contained in:
Fabian Affolter 2021-06-30 19:42:16 +02:00 committed by Jonathan Ringer
parent d9cd01bb2a
commit b163b113a0

View file

@ -1,8 +1,9 @@
{ lib { lib
, python2 , python3
, fetchFromGitHub , fetchFromGitHub
}: }:
python2.pkgs.buildPythonPackage rec {
python3.pkgs.buildPythonPackage rec {
pname = "flare-floss"; pname = "flare-floss";
version = "1.7.0"; version = "1.7.0";
@ -13,18 +14,17 @@ python2.pkgs.buildPythonPackage rec {
sha256 = "GMOA1+qM2A/Qw33kOTIINEvjsfqjWQWBXHNemh3IK8w="; sha256 = "GMOA1+qM2A/Qw33kOTIINEvjsfqjWQWBXHNemh3IK8w=";
}; };
propagatedBuildInputs = with python2.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
pyyaml pyyaml
simplejson simplejson
tabulate tabulate
vivisect vivisect
plugnplay plugnplay
viv-utils viv-utils
enum34
]; ];
checkInputs = [ checkInputs = with python3.pkgs; [
python2.pkgs.pytestCheckHook pytestCheckHook
]; ];
disabledTests = [ disabledTests = [