summary refs log tree commit diff
path: root/pkgs/tools/misc/wakatime/default.nix
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2016-05-18 17:10:02 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2016-05-18 17:10:02 +0200
commitf8d481754cf842ca6e6ac1427ce0f571f5a44108 (patch)
tree70e702285987429aed275e0d5e2dc15c050e1f8c /pkgs/tools/misc/wakatime/default.nix
parent9fbc20e2f89bc045efac7ade41949a2c2d571dec (diff)
parent3cd63ade1614d4c581735ffb0cebe181bf87dfc8 (diff)
downloadnixlib-f8d481754cf842ca6e6ac1427ce0f571f5a44108.tar
nixlib-f8d481754cf842ca6e6ac1427ce0f571f5a44108.tar.gz
nixlib-f8d481754cf842ca6e6ac1427ce0f571f5a44108.tar.bz2
nixlib-f8d481754cf842ca6e6ac1427ce0f571f5a44108.tar.lz
nixlib-f8d481754cf842ca6e6ac1427ce0f571f5a44108.tar.xz
nixlib-f8d481754cf842ca6e6ac1427ce0f571f5a44108.tar.zst
nixlib-f8d481754cf842ca6e6ac1427ce0f571f5a44108.zip
Merge remote-tracking branch 'origin/master' into hardened-stdenv
Diffstat (limited to 'pkgs/tools/misc/wakatime/default.nix')
-rw-r--r--pkgs/tools/misc/wakatime/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/misc/wakatime/default.nix b/pkgs/tools/misc/wakatime/default.nix
new file mode 100644
index 000000000000..cf3b75be3f68
--- /dev/null
+++ b/pkgs/tools/misc/wakatime/default.nix
@@ -0,0 +1,29 @@
+{ 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 ];
+  };
+}