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.

38 lines
831 B
Nix
Raw Normal View History

2021-09-28 14:56:14 +00:00
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "time-decode";
2022-12-02 12:17:09 +00:00
version = "4.2.0";
2022-12-04 12:59:21 +00:00
format = "setuptools";
2021-09-28 14:56:14 +00:00
src = fetchFromGitHub {
owner = "digitalsleuth";
repo = "time_decode";
2022-06-22 20:50:08 +00:00
rev = "refs/tags/v${version}";
2022-12-04 12:59:21 +00:00
hash = "sha256-6OSa8tOTAzQbi5aYPDJotWApeh8E3wi4V7RN16Go/E4=";
2021-09-28 14:56:14 +00:00
};
propagatedBuildInputs = with python3.pkgs; [
colorama
python-dateutil
];
# Project has no tests
doCheck = false;
2022-12-04 12:59:21 +00:00
pythonImportsCheck = [
"time_decode"
];
2021-09-28 14:56:14 +00:00
meta = with lib; {
description = "Timestamp and date decoder";
homepage = "https://github.com/digitalsleuth/time_decode";
2022-12-04 12:59:21 +00:00
changelog = "https://github.com/digitalsleuth/time_decode/releases/tag/v${version}";
2021-09-28 14:56:14 +00:00
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}