Merge pull request #236759 from huantianad/aw-client-0.5.12
aw-client: 0.5.11 -> 0.5.12, add gitUpdater
This commit is contained in:
@@ -10,11 +10,12 @@
|
||||
, tabulate
|
||||
, typing-extensions
|
||||
, pytestCheckHook
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aw-client";
|
||||
version = "0.5.11";
|
||||
version = "0.5.12";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
@@ -23,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "ActivityWatch";
|
||||
repo = "aw-client";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-5WKGRoZGY+QnnB1Jzlju5OmCJreYMD8am2kW3Wcjhlw=";
|
||||
sha256 = "sha256-Aketk+itfd9gs3s+FDfzmGNWd7tKJQqNn1XsH2VTBD8=";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -56,6 +57,10 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "aw_client" ];
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client library for ActivityWatch";
|
||||
homepage = "https://github.com/ActivityWatch/aw-client";
|
||||
|
||||
Reference in New Issue
Block a user