2021-10-16 04:15:24 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2020-02-18 18:05:55 +00:00
|
|
|
, fetchFromGitHub
|
2020-07-29 16:33:39 +00:00
|
|
|
, nix-update-script
|
2020-02-18 18:05:55 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, vala
|
|
|
|
, pkg-config
|
|
|
|
, desktop-file-utils
|
|
|
|
, glib
|
2021-09-15 00:13:13 +00:00
|
|
|
, gtk4
|
2020-02-18 18:05:55 +00:00
|
|
|
, json-glib
|
2021-09-15 00:13:13 +00:00
|
|
|
, libadwaita
|
2020-02-18 18:05:55 +00:00
|
|
|
, libgee
|
2021-10-16 04:15:24 +00:00
|
|
|
, wrapGAppsHook4
|
2020-02-18 18:05:55 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "khronos";
|
2023-10-29 01:47:36 +00:00
|
|
|
version = "4.0.1";
|
2020-02-18 18:05:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lainsce";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-10-29 01:47:36 +00:00
|
|
|
sha256 = "sha256-2mO2ZMDxZ7sx2EVTN0tsAv8MisGxlK/1h61N+hOqyGI=";
|
2020-02-18 18:05:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
vala
|
|
|
|
pkg-config
|
2021-10-16 04:15:24 +00:00
|
|
|
wrapGAppsHook4
|
2020-02-18 18:05:55 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
2021-09-15 00:13:13 +00:00
|
|
|
gtk4
|
2020-02-18 18:05:55 +00:00
|
|
|
json-glib
|
2021-09-15 00:13:13 +00:00
|
|
|
libadwaita
|
2020-02-18 18:05:55 +00:00
|
|
|
libgee
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
2022-12-25 22:11:14 +00:00
|
|
|
updateScript = nix-update-script { };
|
2020-02-18 18:05:55 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-02-18 18:05:55 +00:00
|
|
|
description = "Track each task's time in a simple inobtrusive way";
|
|
|
|
homepage = "https://github.com/lainsce/khronos";
|
2021-09-18 15:00:51 +00:00
|
|
|
maintainers = with maintainers; [ xiorcale ] ++ teams.pantheon.members;
|
2020-02-18 18:05:55 +00:00
|
|
|
platforms = platforms.linux;
|
2021-09-15 15:30:56 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2021-10-29 11:15:01 +00:00
|
|
|
mainProgram = "io.github.lainsce.Khronos";
|
2020-02-18 18:05:55 +00:00
|
|
|
};
|
|
|
|
}
|