forked from mirrors/nixpkgs
30 lines
837 B
Nix
30 lines
837 B
Nix
|
{ stdenv, pythonPackages, fetchFromGitHub }:
|
||
|
|
||
|
with pythonPackages;
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
namePrefix = "";
|
||
|
name = "wakatime-${version}";
|
||
|
version = "6.0.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
sha256 = "0bkzchivkz39jiz78jy7zkpsg6fd94wd7nsmrnijvxb3dn35l7l2";
|
||
|
rev = version;
|
||
|
repo = "wakatime";
|
||
|
owner = "wakatime";
|
||
|
};
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
inherit (src.meta) homepage;
|
||
|
description = "WakaTime command line interface";
|
||
|
longDescription = ''
|
||
|
Command line interface to WakaTime used by all WakaTime text editor
|
||
|
plugins. You shouldn't need to directly use this package unless you
|
||
|
are building your own plugin or your text editor's plugin asks you
|
||
|
to install the wakatime CLI interface manually.
|
||
|
'';
|
||
|
license = licenses.bsd3;
|
||
|
maintainers = with maintainers; [ nckx ];
|
||
|
};
|
||
|
}
|