diff --git a/pkgs/tools/misc/wakatime/default.nix b/pkgs/tools/misc/wakatime/default.nix index 0e7cd49b543d..c1091d47c5a8 100644 --- a/pkgs/tools/misc/wakatime/default.nix +++ b/pkgs/tools/misc/wakatime/default.nix @@ -1,17 +1,14 @@ -{ stdenv, pythonPackages, fetchFromGitHub }: +{ stdenv, buildPythonApplication, fetchFromGitHub }: -with pythonPackages; - -buildPythonPackage rec { - namePrefix = ""; +buildPythonApplication rec { name = "wakatime-${version}"; - version = "7.0.4"; + version = "10.0.1"; src = fetchFromGitHub { - sha256 = "1cddabx9x11d2nxxcqlf4piysjnpfici0n5qy3n9gw81asz1djhf"; - rev = version; - repo = "wakatime"; owner = "wakatime"; + repo = "wakatime"; + rev = version; + sha256 = "1bg8fzd3rdc6na0a7z1d55m2gbnfq6d72mf2jlyzc817r6dr4bfx"; }; meta = with stdenv.lib; { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index da7a09b8cc49..d1da340a753f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4908,7 +4908,7 @@ with pkgs; vtun = callPackage ../tools/networking/vtun { }; - wakatime = callPackage ../tools/misc/wakatime { }; + wakatime = pythonPackages.callPackage ../tools/misc/wakatime { }; weather = callPackage ../applications/misc/weather { };