1 { lib, fetchFromGitHub, python3Packages, intltool, glib, itstool, gtk3
2 , wrapGAppsHook3, gobject-introspection, pango, gdk-pixbuf, atk, wafHook }:
4 python3Packages.buildPythonApplication rec {
10 src = fetchFromGitHub {
11 owner = "projecthamster";
13 rev = "refs/tags/v${version}";
14 sha256 = "sha256-cUmUvJP9Y3de5OaNgIxvigDsX2ww7NNRY5son/gg+WI=";
18 python3Packages.setuptools
34 propagatedBuildInputs = with python3Packages; [
42 PYTHONDIR = "${placeholder "out"}/${python3Packages.python.sitePackages}";
46 # Arguments to be passed to `makeWrapper`, only used by buildPython*
48 makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
52 wrapPythonProgramsIn $out/libexec "$out $pythonPath"
56 description = "Time tracking application";
57 mainProgram = "hamster";
58 homepage = "http://projecthamster.org/";
59 license = licenses.gpl3Plus;
60 platforms = platforms.all;
61 maintainers = [ maintainers.fabianhauser ];