Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5}: 6 7python3Packages.buildPythonApplication rec { 8 pname = "trak"; 9 version = "0.0.5"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "lcfd"; 14 repo = "trak"; 15 rev = "v${version}"; 16 hash = "sha256-YJMX7pNRWdNPyWNZ1HfpdYsKSStRWLcianLz6nScMa8="; 17 }; 18 19 sourceRoot = "${src.name}/cli"; 20 21 dependencies = with python3Packages; [ 22 questionary 23 typer 24 ]; 25 26 build-system = [ python3Packages.poetry-core ]; 27 28 meta = { 29 description = "Keep a record of the time you dedicate to your projects"; 30 homepage = "https://github.com/lcfd/trak"; 31 license = lib.licenses.agpl3Only; 32 maintainers = with lib.maintainers; [ buurro ]; 33 mainProgram = "trak"; 34 }; 35}