From 188c3c2d3887ccfb51245e1b72e74d8353343fef Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 8 Mar 2024 10:34:42 +0100 Subject: [PATCH 1/2] time-decode: refactor --- pkgs/tools/misc/time-decode/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/time-decode/default.nix b/pkgs/tools/misc/time-decode/default.nix index edd0eba43a24..0bbdc8f160ee 100644 --- a/pkgs/tools/misc/time-decode/default.nix +++ b/pkgs/tools/misc/time-decode/default.nix @@ -6,7 +6,7 @@ python3.pkgs.buildPythonApplication rec { pname = "time-decode"; version = "6.1.0"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "digitalsleuth"; @@ -15,6 +15,10 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-LbXycu3Yiku9ToW+WS/yUqwicvckj2IkP09TiZkRXnk="; }; + nativeBuildInputs = with python3.pkgs; [ + setuptools + ]; + propagatedBuildInputs = with python3.pkgs; [ colorama python-dateutil From f4cb16f6bfc9b5482a92312e3239f9f4e902ca57 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 8 Mar 2024 10:35:24 +0100 Subject: [PATCH 2/2] time-decode: 6.1.0 -> 7.0.2 Diff: https://github.com/digitalsleuth/time_decode/compare/refs/tags/v6.1.0...v7.0.2 Changelog: https://github.com/digitalsleuth/time_decode/releases/tag/v7.0.2 --- pkgs/tools/misc/time-decode/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/time-decode/default.nix b/pkgs/tools/misc/time-decode/default.nix index 0bbdc8f160ee..b208fd3e2ba2 100644 --- a/pkgs/tools/misc/time-decode/default.nix +++ b/pkgs/tools/misc/time-decode/default.nix @@ -5,14 +5,14 @@ python3.pkgs.buildPythonApplication rec { pname = "time-decode"; - version = "6.1.0"; + version = "7.0.2"; pyproject = true; src = fetchFromGitHub { owner = "digitalsleuth"; repo = "time_decode"; rev = "refs/tags/v${version}"; - hash = "sha256-LbXycu3Yiku9ToW+WS/yUqwicvckj2IkP09TiZkRXnk="; + hash = "sha256-K60xIQ6TWPYlsR6YjIquey5Ioaw4oAId59CPlQNK4yk="; }; nativeBuildInputs = with python3.pkgs; [ @@ -22,6 +22,7 @@ python3.pkgs.buildPythonApplication rec { propagatedBuildInputs = with python3.pkgs; [ colorama python-dateutil + pyqt6 ]; # Project has no tests