diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2020-02-29 00:53:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-29 00:53:45 +0000 |
commit | 2a09750de872b4a3f730f539a18e9cceb8af5e81 (patch) | |
tree | 6adad4e987a9310b523a5b398e88b591c82ff63f /pkgs/applications/office | |
parent | 1a67cb91ad8039e07ab0fd654c17480d1ee6b8d2 (diff) | |
parent | 38903decbf2b6dd5c564ea0af19d12e60484665d (diff) |
Merge pull request #80555 from kjuvi/khronos
khronos: init at 1.0.5
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/khronos/default.nix | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/pkgs/applications/office/khronos/default.nix b/pkgs/applications/office/khronos/default.nix new file mode 100644 index 0000000000000..d7726c13e647e --- /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; + }; +} |