about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2024-06-09 20:00:28 +0200
committerGitHub <noreply@github.com>2024-06-09 20:00:28 +0200
commitb5e9e7c81e08d4cf774b9ccd59552b0798a4d2f5 (patch)
treefe9806fab66712c105878430a170c2c4452e25ae /pkgs
parent00b63506bbd6e5df730b3778ff3e4729cd31e8a9 (diff)
parent990107a3d345c6ff6db60d07ed82731e9a5ab658 (diff)
Merge pull request #318265 from r-ryantm/auto-update/python311Packages.repl-python-wakatime
python311Packages.repl-python-wakatime: 0.0.6 -> 0.0.11
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/repl-python-wakatime/default.nix46
1 files changed, 25 insertions, 21 deletions
diff --git a/pkgs/development/python-modules/repl-python-wakatime/default.nix b/pkgs/development/python-modules/repl-python-wakatime/default.nix
index 929a51dbce98d..72bdb809a8cb6 100644
--- a/pkgs/development/python-modules/repl-python-wakatime/default.nix
+++ b/pkgs/development/python-modules/repl-python-wakatime/default.nix
@@ -1,47 +1,51 @@
-{ lib
-, buildPythonPackage
-, pythonOlder
-, fetchPypi
-, ptpython
-, ipython
-, setuptools
-, setuptools-scm
-, setuptools-generate
+{
+  lib,
+  buildPythonPackage,
+  fetchPypi,
+  ipython,
+  keyring,
+  ptpython,
+  pytestCheckHook,
+  pythonOlder,
+  setuptools,
+  setuptools-generate,
+  setuptools-scm,
 }:
 
-let
+buildPythonPackage rec {
   pname = "repl-python-wakatime";
-  version = "0.0.6";
-in
+  version = "0.0.11";
+  pyproject = true;
 
-buildPythonPackage {
-  inherit pname version;
-  format = "pyproject";
-  disabled = pythonOlder "3.6";
+  disabled = pythonOlder "3.7";
 
   src = fetchPypi {
     inherit pname version;
-    hash = "sha256-s2UelniMn4+wWILbVIIKidRCFaOvo/nNNofA7yf2+9c=";
+    hash = "sha256-HoCdeo03Lf3g5Xg0GgAyWOu2PtGqy33vg5bQrfkEPkE=";
   };
 
-  nativeBuildInputs = [
+  build-system = [
     setuptools
     setuptools-scm
     setuptools-generate
   ];
 
-  propagatedBuildInputs = [
+  dependencies = [
     ptpython
     ipython
   ];
 
-  pythonImportsCheck = [
-    "repl_python_wakatime"
+  nativeCheckInputs = [
+    keyring
+    pytestCheckHook
   ];
 
+  pythonImportsCheck = [ "repl_python_wakatime" ];
+
   meta = with lib; {
     description = "Python REPL plugin for automatic time tracking and metrics generated from your programming activity";
     homepage = "https://github.com/wakatime/repl-python-wakatime";
+    changelog = "https://github.com/wakatime/repl-python-wakatime/releases/tag/${version}";
     license = licenses.gpl3Only;
     maintainers = with maintainers; [ jfvillablanca ];
   };