Merge pull request #80555 from kjuvi/khronos

khronos: init at 1.0.5
This commit is contained in:
worldofpeace 2020-02-29 00:53:45 +00:00 committed by GitHub
commit 2a09750de8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 66 additions and 0 deletions

View File

@ -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;
};
}

View File

@ -19993,6 +19993,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 { };