2019-03-02 03:49:40 +00:00
|
|
|
{ stdenv
|
|
|
|
, wakatime, vscode-utils }:
|
2018-06-18 14:31:15 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
inherit (vscode-utils) buildVscodeMarketplaceExtension;
|
|
|
|
in
|
|
|
|
buildVscodeMarketplaceExtension {
|
|
|
|
mktplcRef = {
|
|
|
|
name = "vscode-wakatime";
|
|
|
|
publisher = "WakaTime";
|
2019-02-25 01:39:10 +00:00
|
|
|
version = "1.2.7";
|
|
|
|
sha256 = "1z1l9jbx7y7y643qxp76bxkpik4kbcqkw1492s11mrflqlfasyfn";
|
2018-06-18 14:31:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
2019-03-02 03:49:40 +00:00
|
|
|
mkdir -p dist/wakatime-master
|
|
|
|
cp -rt dist/wakatime-master --no-preserve=all ${wakatime}/lib/python*/site-packages/wakatime
|
2018-06-18 14:31:15 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|