nixpkgs-suyu/pkgs/tools/misc/time-decode/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
713 B
Nix
Raw Normal View History

2021-09-28 16:56:14 +02:00
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "time-decode";
2022-07-23 22:23:12 +02:00
version = "4.1.2";
2021-09-28 16:56:14 +02:00
src = fetchFromGitHub {
owner = "digitalsleuth";
repo = "time_decode";
2022-06-22 22:50:08 +02:00
rev = "refs/tags/v${version}";
2022-07-23 22:23:12 +02:00
sha256 = "sha256-79TReAEHvLldp0n3jTvws3mFE/1O1h6TocjMHrurwt4=";
2021-09-28 16:56:14 +02:00
};
propagatedBuildInputs = with python3.pkgs; [
colorama
python-dateutil
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "time_decode" ];
meta = with lib; {
description = "Timestamp and date decoder";
homepage = "https://github.com/digitalsleuth/time_decode";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}