mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
a211d94291
after https://github.com/Mic92/nix-update/pull/120 and https://github.com/NixOS/nixpkgs/pull/207703, `attrPath` can now be omitted when using `nix-update-script`
59 lines
1011 B
Nix
59 lines
1011 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
, meson
|
|
, ninja
|
|
, vala
|
|
, pkg-config
|
|
, desktop-file-utils
|
|
, glib
|
|
, gtk4
|
|
, json-glib
|
|
, libadwaita
|
|
, libgee
|
|
, wrapGAppsHook4
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "khronos";
|
|
version = "3.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lainsce";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-k3U8ICnwMbR6vN+gELWytI2Etri5lvbE6AX6lUpr7dQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils
|
|
meson
|
|
ninja
|
|
vala
|
|
pkg-config
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gtk4
|
|
json-glib
|
|
libadwaita
|
|
libgee
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Track each task's time in a simple inobtrusive way";
|
|
homepage = "https://github.com/lainsce/khronos";
|
|
maintainers = with maintainers; [ xiorcale ] ++ teams.pantheon.members;
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl3Plus;
|
|
mainProgram = "io.github.lainsce.Khronos";
|
|
};
|
|
}
|