1{ lib
2, fetchFromGitHub
3, python3
4}:
5
6python3.pkgs.buildPythonApplication rec {
7 pname = "time-decode";
8 version = "6.1.0";
9 format = "setuptools";
10
11 src = fetchFromGitHub {
12 owner = "digitalsleuth";
13 repo = "time_decode";
14 rev = "refs/tags/v${version}";
15 hash = "sha256-LbXycu3Yiku9ToW+WS/yUqwicvckj2IkP09TiZkRXnk=";
16 };
17
18 propagatedBuildInputs = with python3.pkgs; [
19 colorama
20 python-dateutil
21 ];
22
23 # Project has no tests
24 doCheck = false;
25
26 pythonImportsCheck = [
27 "time_decode"
28 ];
29
30 meta = with lib; {
31 description = "Timestamp and date decoder";
32 homepage = "https://github.com/digitalsleuth/time_decode";
33 changelog = "https://github.com/digitalsleuth/time_decode/releases/tag/v${version}";
34 license = with licenses; [ mit ];
35 maintainers = with maintainers; [ fab ];
36 };
37}