biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / misc / furtherance / default.nix
blob15616f32bebd9a1df737babea7cca6f65d81e6f7
1 { lib, stdenv, fetchFromGitHub, rustPlatform
2 , appstream-glib, cargo, desktop-file-utils, glib, libadwaita, meson, ninja
3 , pkg-config, rustc, wrapGAppsHook4
4 , dbus, gtk4, sqlite
5 }:
7 stdenv.mkDerivation (finalAttrs: {
8   pname = "furtherance";
9   version = "1.8.3";
11   src = fetchFromGitHub {
12     owner = "lakoliu";
13     repo = "Furtherance";
14     rev = "v${finalAttrs.version}";
15     hash = "sha256-TxYARpCqqjjwinoRU2Wjihp+FYIvcI0YCGlOuumX6To=";
16   };
18   cargoDeps = rustPlatform.fetchCargoTarball {
19     inherit (finalAttrs) src;
20     name = "${finalAttrs.pname}-${finalAttrs.version}";
21     hash = "sha256-VGBxBHs/kqW0mvOiz0UQRg0duDmW8ee9cSh6EOT9aaY=";
22   };
24   nativeBuildInputs = [
25     appstream-glib
26     desktop-file-utils
27     meson
28     ninja
29     pkg-config
30     rustPlatform.cargoSetupHook
31     cargo
32     rustc
33     wrapGAppsHook4
34   ];
36   buildInputs = [
37     dbus
38     glib
39     gtk4
40     libadwaita
41     sqlite
42   ];
44   meta = with lib; {
45     description = "Track your time without being tracked";
46     mainProgram = "furtherance";
47     homepage = "https://github.com/lakoliu/Furtherance";
48     license = licenses.gpl3Plus;
49     platforms = platforms.linux;
50     maintainers = with maintainers; [ CaptainJawZ ];
51   };