mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
3d12611232
Typer specifies the standard optional-dependencies package list, but then due to internal tooling includes it by default in Require-Dist. https://github.com/tiangolo/typer/blob/0.12.3/pyproject.toml#L71-L72 This is in line with changes that happened in typer 0.12.1 https://github.com/tiangolo/typer/releases/tag/0.12.1
35 lines
730 B
Nix
35 lines
730 B
Nix
{ 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
|
|
];
|
|
|
|
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";
|
|
};
|
|
}
|