flare-floss: 3.1.0 -> 3.1.1 (#352806)

Changed files
+25 -17
pkgs
development
python-modules
viv-utils
vivisect
tools
security
flare-floss
+12 -8
pkgs/development/python-modules/viv-utils/default.nix
···
funcy,
intervaltree,
pefile,
-
typing-extensions,
-
vivisect,
pytest-sugar,
pytestCheckHook,
python-flirt,
+
pythonOlder,
+
setuptools-scm,
+
typing-extensions,
+
vivisect,
}:
+
buildPythonPackage rec {
pname = "viv-utils";
version = "0.7.11";
-
format = "setuptools";
+
pyproject = true;
+
+
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "williballenthin";
···
hash = "sha256-zYamhG5oeoYYVLEvv1EdZ1buFDByZatuCxbl0uRhk6Y=";
};
-
postPatch = ''
-
substituteInPlace setup.py \
-
--replace "==" ">="
-
'';
+
build-system = [ setuptools-scm ];
-
propagatedBuildInputs = [
+
dependencies = [
funcy
intervaltree
pefile
···
flirt = [ python-flirt ];
};
};
+
+
pythonImportsCheck = [ "viv_utils" ];
meta = with lib; {
description = "Utilities for working with vivisect";
+8 -4
pkgs/development/python-modules/vivisect/default.nix
···
pythonOlder,
withGui ? false,
wrapQtAppsHook,
+
setuptools,
}:
buildPythonPackage rec {
pname = "vivisect";
version = "1.2.1";
-
format = "setuptools";
+
pyproject = true;
-
disabled = pythonOlder "3.6";
+
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
···
pythonRelaxDeps = [
"cxxfilt"
+
"msgpack"
"pyasn1"
"pyasn1-modules"
];
+
build-system = [ setuptools ];
+
nativeBuildInputs = [
wrapQtAppsHook
];
-
propagatedBuildInputs = [
+
dependencies = [
pyasn1
pyasn1-modules
cxxfilt
···
wrapQtApp $out/bin/vivbin
'';
-
# requires another repo for test files
+
# Tests requires another repo for test files
doCheck = false;
pythonImportsCheck = [ "vivisect" ];
+5 -5
pkgs/tools/security/flare-floss/default.nix
···
python3.pkgs.buildPythonPackage rec {
pname = "flare-floss";
-
version = "3.1.0";
+
version = "3.1.1";
pyproject = true;
src = fetchFromGitHub {
···
repo = "flare-floss";
rev = "refs/tags/v${version}";
fetchSubmodules = true; # for tests
-
hash = "sha256-a20q7kavWwCsfnAW02+IY0jKERMxkJ+2nid/CwQxC9E=";
+
hash = "sha256-ciyF1Pt5KdUsmpTgvfgE81hhTHBM5zMBcZpom99R5GY=";
};
postPatch = ''
-
substituteInPlace pyproject.toml \
-
--replace "==" ">="
-
substituteInPlace floss/main.py \
--replace 'sigs_path = os.path.join(get_default_root(), "sigs")' 'sigs_path = "'"$out"'/share/flare-floss/sigs"'
'';
+
+
pythonRelaxDeps = [ "networkx" ];
build-system = with python3.pkgs; [
setuptools
···
with python3.pkgs;
[
binary2strings
+
dncil
halo
networkx
pefile