Merge pull request #236760 from huantianad/aw-core-0.5.14
aw-core: 0.5.12 -> 0.5.14, add gitUpdater
This commit is contained in:
commit
96dddb648c
1 changed files with 7 additions and 4 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue