depot/third_party/nixpkgs/pkgs/tools/misc/time-decode/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

33 lines
713 B
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "time-decode";
version = "4.1.2";
src = fetchFromGitHub {
owner = "digitalsleuth";
repo = "time_decode";
rev = "refs/tags/v${version}";
sha256 = "sha256-79TReAEHvLldp0n3jTvws3mFE/1O1h6TocjMHrurwt4=";
};
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 ];
};
}