mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #315913 from Sigmanificient/wakatime-cli
This commit is contained in:
commit
42fa9593b9
@ -3,11 +3,11 @@
|
||||
buildGo122Module,
|
||||
fetchFromGitHub,
|
||||
testers,
|
||||
wakatime,
|
||||
wakatime-cli,
|
||||
}:
|
||||
|
||||
buildGo122Module rec {
|
||||
pname = "wakatime";
|
||||
pname = "wakatime-cli";
|
||||
version = "1.90.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@ -43,7 +43,7 @@ buildGo122Module rec {
|
||||
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = wakatime;
|
||||
package = wakatime-cli;
|
||||
command = "HOME=$(mktemp -d) wakatime-cli --version";
|
||||
};
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, wakatime
|
||||
, wakatime-cli
|
||||
, buildFishPlugin
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
@ -17,8 +17,8 @@ buildFishPlugin rec {
|
||||
|
||||
preFixup = ''
|
||||
substituteInPlace $out/share/fish/vendor_conf.d/wakatime.fish \
|
||||
--replace "if type -p wakatime" "if type -p ${lib.getExe wakatime}" \
|
||||
--replace "(type -p wakatime)" "${lib.getExe wakatime}"
|
||||
--replace-fail "if type -p wakatime-cli" "if type -p ${lib.getExe wakatime-cli}" \
|
||||
--replace-fail "(type -p wakatime-cli)" "${lib.getExe wakatime-cli}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -1354,6 +1354,7 @@ mapAliases ({
|
||||
volatility = throw "'volatility' has been removed, as it was broken and unmaintained"; # Added 2023-12-10
|
||||
|
||||
### 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
|
||||
wayfireApplications-unwrapped = throw ''
|
||||
'wayfireApplications-unwrapped.wayfire' has been renamed to/replaced by 'wayfire'
|
||||
|
Loading…
Reference in New Issue
Block a user