Merge pull request #304910 from buurro/init-trak

trak: init at 0.0.5
This commit is contained in:
Aleksana 2024-05-02 21:38:23 +08:00 committed by GitHub
commit 14a29d4781
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 40 additions and 0 deletions

@ -3030,6 +3030,12 @@
githubId = 37375448;
name = "Buildit";
};
buurro = {
email = "marcoburro98@gmail.com";
github = "buurro";
githubId = 9320677;
name = "Marco Burro";
};
bwc9876 = {
email = "bwc9876@gmail.com";
github = "Bwc9876";

@ -0,0 +1,34 @@
{ 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
] ++ typer.optional-dependencies.all;
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";
};
}