2018-06-18 14:31:15 +01:00
|
|
|
{ stdenv, wakatime, vscode-utils }:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (vscode-utils) buildVscodeMarketplaceExtension;
|
|
|
|
in
|
|
|
|
buildVscodeMarketplaceExtension {
|
|
|
|
mktplcRef = {
|
|
|
|
name = "vscode-wakatime";
|
|
|
|
publisher = "WakaTime";
|
2018-12-17 03:07:42 +00:00
|
|
|
version = "1.2.5";
|
|
|
|
sha256 = "011yx3pwqbcz5fmzani57k0axgh458r4ipqwbjlklnrwbrkjhzra";
|
2018-06-18 14:31:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
mkdir -p out/wakatime-master
|
|
|
|
|
|
|
|
cp -rt out/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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|