2024-05-15 15:35:15 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3Packages
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "trak";
|
|
|
|
version = "0.0.5";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lcfd";
|
|
|
|
repo = "trak";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-YJMX7pNRWdNPyWNZ1HfpdYsKSStRWLcianLz6nScMa8=";
|
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = "${src.name}/cli";
|
|
|
|
|
|
|
|
dependencies = with python3Packages; [
|
|
|
|
questionary
|
|
|
|
typer
|
2024-07-31 10:19:44 +00:00
|
|
|
];
|
2024-05-15 15:35:15 +00:00
|
|
|
|
|
|
|
build-system = [ python3Packages.poetry-core ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Keep a record of the time you dedicate to your projects";
|
|
|
|
homepage = "https://github.com/lcfd/trak";
|
|
|
|
license = lib.licenses.agpl3Only;
|
|
|
|
maintainers = with lib.maintainers; [ buurro ];
|
|
|
|
mainProgram = "trak";
|
|
|
|
};
|
|
|
|
}
|