From 67397417918306cff47b7e2e73330578e66cde0f Mon Sep 17 00:00:00 2001 From: jfvillablanca <31008330+jfvillablanca@users.noreply.github.com> Date: Mon, 7 Oct 2024 20:50:15 +0800 Subject: [PATCH] octosuite: 3.1.0 -> 3.1.1 https://github.com/bellingcat/octosuite/compare/3.1.0...3.1.1 --- pkgs/tools/security/octosuite/default.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/security/octosuite/default.nix b/pkgs/tools/security/octosuite/default.nix index af4dd9c39740..46a4d44027f4 100644 --- a/pkgs/tools/security/octosuite/default.nix +++ b/pkgs/tools/security/octosuite/default.nix @@ -5,23 +5,28 @@ python3.pkgs.buildPythonApplication rec { pname = "octosuite"; - version = "3.1.0"; - format = "setuptools"; + version = "3.1.1"; + pyproject = true; src = fetchFromGitHub { owner = "bellingcat"; repo = "octosuite"; rev = "refs/tags/${version}"; - hash = "sha256-C73txVtyWTcIrJSApBy4uIKDcuUq0HZrGM6dqDVLkKY="; + hash = "sha256-bgTAGIJbxOa8q8lMsWa8dHwNZ/jXiWGQOp921sd2Vdo="; }; postPatch = '' # pyreadline3 is Windows-only - substituteInPlace setup.py \ - --replace ', "pyreadline3"' "" + substituteInPlace pyproject.toml \ + --replace-fail '"pyreadline3",' "" ''; - propagatedBuildInputs = with python3.pkgs; [ + build-system = with python3.pkgs; [ + setuptools + setuptools-scm + ]; + + dependencies = with python3.pkgs; [ psutil requests rich