From 7a62e75e6caf9c8d6b0922140385613f370bace8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 18 May 2023 17:58:59 +0200 Subject: [PATCH] flare-floss: 2.0.0 -> 2.2.0 Diff: https://github.com/mandiant/flare-floss/compare/refs/tags/v2.0.0...v2.2.0 --- pkgs/tools/security/flare-floss/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/security/flare-floss/default.nix b/pkgs/tools/security/flare-floss/default.nix index e8fc5aeff24c..79671e2d79a2 100644 --- a/pkgs/tools/security/flare-floss/default.nix +++ b/pkgs/tools/security/flare-floss/default.nix @@ -27,14 +27,15 @@ let in py.pkgs.buildPythonPackage rec { pname = "flare-floss"; - version = "2.0.0"; + version = "2.2.0"; + format = "setuptools"; src = fetchFromGitHub { owner = "mandiant"; repo = "flare-floss"; - rev = "v${version}"; + rev = "refs/tags/v${version}"; fetchSubmodules = true; # for tests - hash = "sha256-V4OWYcISyRdjf8x93B6h2hJwRgmRmk32hr8TrgRDu8Q="; + hash = "sha256-Oa0DMl7RKNfA00shcc4y1sNd2OiKCf0sA0EUC5gByBI="; }; postPatch = '' @@ -63,12 +64,13 @@ py.pkgs.buildPythonPackage rec { postInstall = '' mkdir -p $out/share/flare-floss/ - cp -r sigs $out/share/flare-floss/ + cp -r floss/sigs $out/share/flare-floss/ ''; meta = with lib; { description = "Automatically extract obfuscated strings from malware"; homepage = "https://github.com/mandiant/flare-floss"; + changelog = "https://github.com/mandiant/flare-floss/releases/tag/v${version}"; license = licenses.asl20; maintainers = [ ]; };