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

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

44 lines
933 B
Nix
Raw Permalink Normal View History

2021-09-28 16:56:14 +02:00
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "time-decode";
version = "7.0.2";
2024-03-08 10:34:42 +01:00
pyproject = true;
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}";
hash = "sha256-K60xIQ6TWPYlsR6YjIquey5Ioaw4oAId59CPlQNK4yk=";
2021-09-28 16:56:14 +02:00
};
2024-03-08 10:34:42 +01:00
nativeBuildInputs = with python3.pkgs; [
setuptools
];
2021-09-28 16:56:14 +02:00
propagatedBuildInputs = with python3.pkgs; [
colorama
python-dateutil
pyqt6
2021-09-28 16:56:14 +02:00
];
# Project has no tests
doCheck = false;
2022-12-04 13:59:21 +01:00
pythonImportsCheck = [
"time_decode"
];
2021-09-28 16:56:14 +02:00
meta = with lib; {
description = "Timestamp and date decoder";
homepage = "https://github.com/digitalsleuth/time_decode";
2022-12-04 13:59:21 +01:00
changelog = "https://github.com/digitalsleuth/time_decode/releases/tag/v${version}";
2021-09-28 16:56:14 +02:00
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
2023-11-27 02:17:53 +01:00
mainProgram = "time-decode";
2021-09-28 16:56:14 +02:00
};
}