wakatime: rename to wakatime-cli
This commit is contained in:
parent
5da922e0d7
commit
1d5618e0ec
@ -3,11 +3,11 @@
|
|||||||
buildGo122Module,
|
buildGo122Module,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
testers,
|
testers,
|
||||||
wakatime,
|
wakatime-cli,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGo122Module rec {
|
buildGo122Module rec {
|
||||||
pname = "wakatime";
|
pname = "wakatime-cli";
|
||||||
version = "1.90.0";
|
version = "1.90.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -43,7 +43,7 @@ buildGo122Module rec {
|
|||||||
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
|
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
package = wakatime;
|
package = wakatime-cli;
|
||||||
command = "HOME=$(mktemp -d) wakatime-cli --version";
|
command = "HOME=$(mktemp -d) wakatime-cli --version";
|
||||||
};
|
};
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, wakatime
|
, wakatime-cli
|
||||||
, buildFishPlugin
|
, buildFishPlugin
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
}:
|
}:
|
||||||
@ -17,8 +17,8 @@ buildFishPlugin rec {
|
|||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
substituteInPlace $out/share/fish/vendor_conf.d/wakatime.fish \
|
substituteInPlace $out/share/fish/vendor_conf.d/wakatime.fish \
|
||||||
--replace "if type -p wakatime" "if type -p ${lib.getExe wakatime}" \
|
--replace-fail "if type -p wakatime-cli" "if type -p ${lib.getExe wakatime-cli}" \
|
||||||
--replace "(type -p wakatime)" "${lib.getExe wakatime}"
|
--replace-fail "(type -p wakatime-cli)" "${lib.getExe wakatime-cli}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -1348,6 +1348,7 @@ mapAliases ({
|
|||||||
volatility = throw "'volatility' has been removed, as it was broken and unmaintained"; # Added 2023-12-10
|
volatility = throw "'volatility' has been removed, as it was broken and unmaintained"; # Added 2023-12-10
|
||||||
|
|
||||||
### W ###
|
### W ###
|
||||||
|
wakatime = wakatime-cli; # 2024-05-30
|
||||||
waybar-hyprland = throw "waybar-hyprland has been removed: hyprland support is now built into waybar by default."; # Added 2023-08-21
|
waybar-hyprland = throw "waybar-hyprland has been removed: hyprland support is now built into waybar by default."; # Added 2023-08-21
|
||||||
wayfireApplications-unwrapped = throw ''
|
wayfireApplications-unwrapped = throw ''
|
||||||
'wayfireApplications-unwrapped.wayfire' has been renamed to/replaced by 'wayfire'
|
'wayfireApplications-unwrapped.wayfire' has been renamed to/replaced by 'wayfire'
|
||||||
|
Loading…
Reference in New Issue
Block a user