nixpkgs/pkgs/applications/office/khronos/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

61 lines
1 KiB
Nix
Raw Normal View History

2021-10-16 06:15:24 +02:00
{ lib
, stdenv
2020-02-18 19:05:55 +01:00
, fetchFromGitHub
, nix-update-script
2020-02-18 19:05:55 +01:00
, meson
, ninja
, vala
, pkg-config
, desktop-file-utils
, glib
2021-09-15 02:13:13 +02:00
, gtk4
2020-02-18 19:05:55 +01:00
, json-glib
2021-09-15 02:13:13 +02:00
, libadwaita
2020-02-18 19:05:55 +01:00
, libgee
2021-10-16 06:15:24 +02:00
, wrapGAppsHook4
2020-02-18 19:05:55 +01:00
}:
stdenv.mkDerivation rec {
pname = "khronos";
2022-04-20 05:22:35 +02:00
version = "3.7.0";
2020-02-18 19:05:55 +01:00
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
2022-04-20 05:22:35 +02:00
sha256 = "sha256-k3U8ICnwMbR6vN+gELWytI2Etri5lvbE6AX6lUpr7dQ=";
2020-02-18 19:05:55 +01:00
};
nativeBuildInputs = [
desktop-file-utils
meson
ninja
vala
pkg-config
2021-10-16 06:15:24 +02:00
wrapGAppsHook4
2020-02-18 19:05:55 +01:00
];
buildInputs = [
glib
2021-09-15 02:13:13 +02:00
gtk4
2020-02-18 19:05:55 +01:00
json-glib
2021-09-15 02:13:13 +02:00
libadwaita
2020-02-18 19:05:55 +01:00
libgee
];
passthru = {
updateScript = nix-update-script {
2020-02-18 19:05:55 +01:00
attrPath = pname;
};
};
meta = with lib; {
2020-02-18 19:05:55 +01:00
description = "Track each task's time in a simple inobtrusive way";
homepage = "https://github.com/lainsce/khronos";
maintainers = with maintainers; [ xiorcale ] ++ teams.pantheon.members;
2020-02-18 19:05:55 +01:00
platforms = platforms.linux;
2021-09-15 17:30:56 +02:00
license = licenses.gpl3Plus;
2021-10-29 13:15:01 +02:00
mainProgram = "io.github.lainsce.Khronos";
2020-02-18 19:05:55 +01:00
};
}