Unverified Commit 14a29d47 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

Merge pull request #304910 from buurro/init-trak

trak: init at 0.0.5
parents 8adc2dfa 62d9b8f7
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";
+34 −0
Original line number Diff line number Diff line
{ 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";
  };
}