at 22.05-pre 33 lines 704 B view raw
1{ lib 2, fetchFromGitHub 3, python3 4}: 5 6python3.pkgs.buildPythonApplication rec { 7 pname = "time-decode"; 8 version = "3.2.0"; 9 10 src = fetchFromGitHub { 11 owner = "digitalsleuth"; 12 repo = "time_decode"; 13 rev = "v${version}"; 14 sha256 = "1iwqdq1ail04hs8pkb6rxan4ng2jl2iar6pk72skj41xh4qhlyg6"; 15 }; 16 17 propagatedBuildInputs = with python3.pkgs; [ 18 colorama 19 python-dateutil 20 ]; 21 22 # Project has no tests 23 doCheck = false; 24 25 pythonImportsCheck = [ "time_decode" ]; 26 27 meta = with lib; { 28 description = "Timestamp and date decoder"; 29 homepage = "https://github.com/digitalsleuth/time_decode"; 30 license = with licenses; [ mit ]; 31 maintainers = with maintainers; [ fab ]; 32 }; 33}