diff --git a/pkgs/by-name/pa/past-time/package.nix b/pkgs/by-name/pa/past-time/package.nix index fa8cf108477d..1441882d7f7e 100644 --- a/pkgs/by-name/pa/past-time/package.nix +++ b/pkgs/by-name/pa/past-time/package.nix @@ -6,22 +6,20 @@ python3.pkgs.buildPythonApplication (finalAttrs: { pname = "past-time"; - version = "0.3.1"; + version = "0.4.0"; pyproject = true; src = fetchFromGitHub { owner = "fabaff"; repo = "past-time"; tag = finalAttrs.version; - hash = "sha256-NSuU33vuHbgJ+cG0FrGYLizIrG7jSz+veptt3D4UegY="; + hash = "sha256-1t43GAcA3Dd5F2xO0JMmq8f5cbmmcO2I7TIGaVa1ebw="; }; - nativeBuildInputs = with python3.pkgs; [ - poetry-core - ]; + build-system = with python3.pkgs; [ poetry-core ]; - propagatedBuildInputs = with python3.pkgs; [ - click + dependencies = with python3.pkgs; [ + cyclopts tqdm ]; @@ -30,15 +28,13 @@ python3.pkgs.buildPythonApplication (finalAttrs: { pytestCheckHook ]; - pythonImportsCheck = [ - "past_time" - ]; + pythonImportsCheck = [ "past_time" ]; meta = { description = "Tool to visualize the progress of the year based on the past days"; homepage = "https://github.com/fabaff/past-time"; changelog = "https://github.com/fabaff/past-time/releases/tag/${finalAttrs.version}"; - license = with lib.licenses; [ asl20 ]; + license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; mainProgram = "past-time"; };