Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 60 lines 1.0 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 nix-update-script, 6 meson, 7 ninja, 8 vala, 9 pkg-config, 10 desktop-file-utils, 11 glib, 12 gtk4, 13 json-glib, 14 libadwaita, 15 libgee, 16 wrapGAppsHook4, 17}: 18 19stdenv.mkDerivation rec { 20 pname = "khronos"; 21 version = "4.0.1"; 22 23 src = fetchFromGitHub { 24 owner = "lainsce"; 25 repo = "khronos"; 26 rev = version; 27 sha256 = "sha256-2mO2ZMDxZ7sx2EVTN0tsAv8MisGxlK/1h61N+hOqyGI="; 28 }; 29 30 nativeBuildInputs = [ 31 desktop-file-utils 32 meson 33 ninja 34 vala 35 pkg-config 36 wrapGAppsHook4 37 ]; 38 39 buildInputs = [ 40 glib 41 gtk4 42 json-glib 43 libadwaita 44 libgee 45 ]; 46 47 passthru = { 48 updateScript = nix-update-script { }; 49 }; 50 51 meta = with lib; { 52 description = "Track each task's time in a simple inobtrusive way"; 53 homepage = "https://github.com/lainsce/khronos"; 54 maintainers = with maintainers; [ xiorcale ]; 55 teams = [ teams.pantheon ]; 56 platforms = platforms.linux; 57 license = licenses.gpl3Plus; 58 mainProgram = "io.github.lainsce.Khronos"; 59 }; 60}