From 9fc4a74ca0a97cb0733d70253d96559a5f78b9db Mon Sep 17 00:00:00 2001 From: huantian Date: Thu, 8 Jun 2023 16:18:20 -0700 Subject: [PATCH] aw-core: 0.5.12 -> 0.5.14, add gitUpdater --- pkgs/development/python-modules/aw-core/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/aw-core/default.nix b/pkgs/development/python-modules/aw-core/default.nix index e0caf6b41c0e..37523f7f24dd 100644 --- a/pkgs/development/python-modules/aw-core/default.nix +++ b/pkgs/development/python-modules/aw-core/default.nix @@ -8,17 +8,17 @@ , appdirs , iso8601 , rfc3339-validator -, takethetime , strict-rfc3339 , tomlkit , deprecation , timeslot , pytestCheckHook +, gitUpdater }: buildPythonPackage rec { pname = "aw-core"; - version = "0.5.12"; + version = "0.5.14"; format = "pyproject"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "ActivityWatch"; repo = "aw-core"; rev = "v${version}"; - sha256 = "sha256-DbugVMaQHlHpfbFEsM6kfpDL2VzRs0TDn9klWjAwz64="; + sha256 = "sha256-+XmFh4/wPUpuoRVi8OdzFs/3dwoI1Mjx1hnTiGj+12I="; }; disabled = pythonOlder "3.8"; @@ -42,7 +42,6 @@ buildPythonPackage rec { appdirs iso8601 rfc3339-validator - takethetime strict-rfc3339 tomlkit deprecation @@ -60,6 +59,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "aw_core" ]; + passthru.updateScript = gitUpdater { + rev-prefix = "v"; + }; + meta = with lib; { description = "Core library for ActivityWatch"; homepage = "https://github.com/ActivityWatch/aw-core";