diff --git a/pkgs/by-name/gt/gtimelog/package.nix b/pkgs/by-name/gt/gtimelog/package.nix index d37e2a60eb3f..f2abb96e3fea 100644 --- a/pkgs/by-name/gt/gtimelog/package.nix +++ b/pkgs/by-name/gt/gtimelog/package.nix @@ -4,16 +4,20 @@ python3Packages.buildPythonApplication rec { pname = "gtimelog"; - version = "unstable-2023-10-05"; - format = "setuptools"; + version = "0.12.0"; + pyproject = true; src = fetchFromGitHub { - owner = pname; - repo = pname; - rev = "ba606cbe8eef0e3dc098c6ab3bcbe381bf7ef410"; - hash = "sha256-+iBHfbUJtAtI/vcHj0Y8f9OxAp1SnhQyMqedVzSYPZQ="; + owner = "gtimelog"; + repo = "gtimelog"; + rev = "refs/tags/${version}"; + hash = "sha256-NlKAgAnZWodXF4eybcNOSxexjhegRgQEWoAPd+KWzsw="; }; + build-system = with python3Packages; [ + setuptools-scm + ]; + nativeBuildInputs = [ wrapGAppsHook3 gobject-introspection ]; buildInputs = [ glibcLocales gtk3 libsoup_3 libsecret ]; propagatedBuildInputs = with python3Packages; [