depot/third_party/nixpkgs/pkgs/misc/vscode-extensions/wakatime/default.nix

31 lines
767 B
Nix
Raw Normal View History

{ stdenv
, wakatime, vscode-utils }:
let
inherit (vscode-utils) buildVscodeMarketplaceExtension;
in
buildVscodeMarketplaceExtension {
mktplcRef = {
name = "vscode-wakatime";
publisher = "WakaTime";
version = "4.0.8";
sha256 = "1yma86x5g8fip388afgg20k3sxpkf8bfn98d3850jg6b3zjlw19r";
};
postPatch = ''
mkdir -p wakatime-master
cp -rt wakatime-master --no-preserve=all ${wakatime}/lib/python*/site-packages/wakatime
'';
meta = with stdenv.lib; {
description = ''
Visual Studio Code plugin for automatic time tracking and metrics generated
from your programming activity
'';
license = licenses.bsd3;
maintainers = with maintainers; [
eadwu
];
};
}