1{
2 lib,
3 fetchFromGitHub,
4 python3,
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "time-decode";
9 version = "9.0.0";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "digitalsleuth";
14 repo = "time_decode";
15 tag = "v${version}";
16 hash = "sha256-kydH5WN2PELq6YnoSBFRsyVnxL+0r09WxXuqFANXuNs=";
17 };
18
19 nativeBuildInputs = with python3.pkgs; [ setuptools ];
20
21 propagatedBuildInputs = with python3.pkgs; [
22 colorama
23 juliandate
24 pyqt6
25 python-dateutil
26 pytz
27 tzdata
28 ];
29
30 # Project has no tests
31 doCheck = false;
32
33 pythonImportsCheck = [ "time_decode" ];
34
35 meta = {
36 description = "Timestamp and date decoder";
37 homepage = "https://github.com/digitalsleuth/time_decode";
38 changelog = "https://github.com/digitalsleuth/time_decode/releases/tag/v${version}";
39 license = lib.licenses.mit;
40 maintainers = with lib.maintainers; [ fab ];
41 mainProgram = "time-decode";
42 };
43}