about summary refs log tree commit diff
path: root/pkgs/by-name/ma
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2024-04-03 22:27:12 +0200
committerGitHub <noreply@github.com>2024-04-03 22:27:12 +0200
commitc335ad62121a2e8fc4aeda4cb9e77211a9766691 (patch)
treea4c9d15007d95ba3393c8a9d850dc7b501a71ba1 /pkgs/by-name/ma
parentdc7e4e765d665cda0605e2742c54aee6abb692a2 (diff)
parente70d52bacb61d2124021203e1be8d1e93363c157 (diff)
Merge pull request #300501 from fabaff/malwoverview
malwoverview: init at 5.4.2
Diffstat (limited to 'pkgs/by-name/ma')
-rw-r--r--pkgs/by-name/ma/malwoverview/package.nix57
1 files changed, 57 insertions, 0 deletions
diff --git a/pkgs/by-name/ma/malwoverview/package.nix b/pkgs/by-name/ma/malwoverview/package.nix
new file mode 100644
index 0000000000000..db29831b4eec6
--- /dev/null
+++ b/pkgs/by-name/ma/malwoverview/package.nix
@@ -0,0 +1,57 @@
+{ lib
+, fetchFromGitHub
+, python3
+}:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "malwoverview";
+  version = "5.4.2";
+  pyproject = true;
+
+  src = fetchFromGitHub {
+    owner = "alexandreborges";
+    repo = "malwoverview";
+    rev = "refs/tags/v${version}";
+    hash = "sha256-WAlVEEukPOynCGpRdQu3wP+JZ1UKuSR6pH5ek81L73E=";
+  };
+
+  pythonRemoveDeps = [
+    "pathlib"
+  ];
+
+  nativeBuildInputs = with python3.pkgs; [
+    pythonRelaxDepsHook
+  ];
+
+  build-system  = with python3.pkgs; [
+    setuptools
+  ];
+
+  dependencies = with python3.pkgs; [
+    colorama
+    configparser
+    geocoder
+    pefile
+    polyswarm-api
+    python-magic
+    requests
+    simplejson
+    validators
+  ];
+
+  # Project has no tests
+  doCheck = false;
+
+  pythonImportsCheck = [
+    "malwoverview"
+  ];
+
+  meta = with lib; {
+    description = "Tool for threat hunting and gathering intel information from various sources";
+    homepage = "https://github.com/alexandreborges/malwoverview";
+    changelog = "https://github.com/alexandreborges/malwoverview/releases/tag/v${version}";
+    license = licenses.gpl3Only;
+    maintainers = with maintainers; [ fab ];
+    mainProgram = "malwoverview.py";
+  };
+}