vimPlugins.aw-watcher-vim: init at 2023-10-09 (#321472)

This commit is contained in:
Gaétan Lepage
2024-12-07 23:23:04 +01:00
committed by GitHub
4 changed files with 35 additions and 1 deletions
+1 -1
View File
@@ -22802,7 +22802,7 @@
githubId = 332418;
};
tsandrini = {
email = "tomas.sandrini@seznam.cz";
email = "t@tsandrini.sh";
name = "Tomáš Sandrini";
github = "tsandrini";
githubId = 21975189;
@@ -1037,6 +1037,18 @@ final: prev:
meta.homepage = "https://github.com/yetone/avante.nvim/";
};
aw-watcher-vim = buildVimPlugin {
pname = "aw-watcher-vim";
version = "2023-10-09";
src = fetchFromGitHub {
owner = "ActivityWatch";
repo = "aw-watcher-vim";
rev = "4ba86d05a940574000c33f280fd7f6eccc284331";
sha256 = "0kzpr2dgn80lcqbbf9ig6vx7azz6vbvadi31mxb0qyd91fyiidi3";
};
meta.homepage = "https://github.com/ActivityWatch/aw-watcher-vim/";
};
awesome-vim-colorschemes = buildVimPlugin {
pname = "awesome-vim-colorschemes";
version = "2024-05-18";
@@ -258,6 +258,15 @@ in
}
);
aw-watcher-vim = super.aw-watcher-vim.overrideAttrs {
patches = [
(substituteAll {
src = ./patches/aw-watcher-vim/program_paths.patch;
curl = lib.getExe curl;
})
];
};
bamboo-nvim = super.bamboo-nvim.overrideAttrs {
nvimSkipModule = [
# Requires config table
@@ -0,0 +1,13 @@
diff --git a/plugin/activitywatch.vim b/plugin/activitywatch.vim
index 6986553..7462b02 100644
--- a/plugin/activitywatch.vim
+++ b/plugin/activitywatch.vim
@@ -29,7 +29,7 @@ let s:heartbeat_apiurl = printf('%s/heartbeat?pulsetime=30', s:bucket_apiurl)
let s:http_response_code = {}
function! HTTPPostJson(url, data)
- let l:req = ['curl', '-s', a:url,
+ let l:req = ['@curl@', '-s', a:url,
\ '-H', 'Content-Type: application/json',
\ '-X', 'POST',
\ '-d', json_encode(a:data),