diff --git a/pkgs/applications/office/khronos/default.nix b/pkgs/applications/office/khronos/default.nix new file mode 100644 index 00000000000..d7726c13e64 --- /dev/null +++ b/pkgs/applications/office/khronos/default.nix @@ -0,0 +1,64 @@ +{ stdenv +, fetchFromGitHub +, meson +, ninja +, vala +, pkg-config +, desktop-file-utils +, pantheon +, python3 +, glib +, gtk3 +, json-glib +, libgee +, wrapGAppsHook +}: + +stdenv.mkDerivation rec { + pname = "khronos"; + version = "1.0.5"; + + src = fetchFromGitHub { + owner = "lainsce"; + repo = pname; + rev = version; + sha256 = "0dk1b2d82gli3z35dn5p002lfkgq326janql0vn1z5hs8jvjakqh"; + }; + + nativeBuildInputs = [ + desktop-file-utils + meson + ninja + vala + pkg-config + python3 + wrapGAppsHook + ]; + + buildInputs = [ + glib + gtk3 + json-glib + libgee + pantheon.granite + ]; + + postPatch = '' + chmod +x meson/post_install.py + patchShebangs meson/post_install.py + ''; + + passthru = { + updateScript = pantheon.updateScript { + attrPath = pname; + }; + }; + + meta = with stdenv.lib; { + description = "Track each task's time in a simple inobtrusive way"; + homepage = "https://github.com/lainsce/khronos"; + maintainers = with maintainers; [ kjuvi ] ++ pantheon.maintainers; + platforms = platforms.linux; + license = licenses.gpl3; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9eaa8525fc6..38082e64bc4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15384,7 +15384,7 @@ in miniHttpd = callPackage ../servers/http/mini-httpd {}; mlflow-server = callPackage ../servers/mlflow-server { }; - + mlmmj = callPackage ../servers/mail/mlmmj { }; moodle = callPackage ../servers/web-apps/moodle { }; @@ -19903,6 +19903,8 @@ in kexi = libsForQt5.callPackage ../applications/office/kexi { }; + khronos = callPackage ../applications/office/khronos { }; + keyfinder = libsForQt5.callPackage ../applications/audio/keyfinder { }; keyfinder-cli = libsForQt5.callPackage ../applications/audio/keyfinder-cli { };