mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
34 lines
713 B
Nix
34 lines
713 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "time-decode";
|
|
version = "4.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "digitalsleuth";
|
|
repo = "time_decode";
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "sha256-J5mgAEANAKKbzRMX/LIpdlnP8GkOXFEOmhEO495Z0p4=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|