mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
31 lines
767 B
Nix
31 lines
767 B
Nix
{ stdenv
|
|
, wakatime, vscode-utils }:
|
|
|
|
let
|
|
inherit (vscode-utils) buildVscodeMarketplaceExtension;
|
|
in
|
|
buildVscodeMarketplaceExtension {
|
|
mktplcRef = {
|
|
name = "vscode-wakatime";
|
|
publisher = "WakaTime";
|
|
version = "2.2.1";
|
|
sha256 = "18hdmx993wvhcv13z9p8ylp3lf480axv4lyl0qx52pw2y2jgj1z8";
|
|
};
|
|
|
|
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
|
|
];
|
|
};
|
|
}
|