diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2022-11-24 19:55:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-24 19:55:59 +0100 |
commit | 8a9ed9ff5db70a965b56c947d2f6c28b51229f36 (patch) | |
tree | 5f44e6657de77543eb116f13235e50670897a3b4 /pkgs/applications/misc | |
parent | 24435b435df0fd0bc53cb4181cb21a83c98d353d (diff) | |
parent | ff81b059498dc691464906478a6608c8c9d7c150 (diff) |
Merge pull request #182405 from CaptainJawZ/master
furtherhance: init at 1.6.0
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/furtherance/default.nix | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/applications/misc/furtherance/default.nix b/pkgs/applications/misc/furtherance/default.nix new file mode 100644 index 0000000000000..1d1772dd67276 --- /dev/null +++ b/pkgs/applications/misc/furtherance/default.nix @@ -0,0 +1,48 @@ +{ lib, stdenv, fetchFromGitHub, rustPlatform, appstream-glib, desktop-file-utils +, glib, libadwaita, meson, ninja, pkg-config, wrapGAppsHook4, dbus , gtk4, sqlite }: + +stdenv.mkDerivation rec { + pname = "furtherance"; + version = "1.6.0"; + + src = fetchFromGitHub { + owner = "lakoliu"; + repo = "Furtherance"; + rev = "v${version}"; + sha256 = "xshZpwL5AQvYSPoyt9Qutaym5IGBQHWwz4ev3xnVcSk="; + }; + + cargoDeps = rustPlatform.fetchCargoTarball { + inherit src; + name = "${pname}-${version}"; + sha256 = "J/e8NYd9JjmANj+4Eh3/Uq2/vS711CwERgmJ7i5orNw="; + }; + + nativeBuildInputs = [ + appstream-glib + desktop-file-utils + meson + ninja + pkg-config + rustPlatform.cargoSetupHook + rustPlatform.rust.cargo + rustPlatform.rust.rustc + wrapGAppsHook4 + ]; + + buildInputs = [ + dbus + glib + gtk4 + libadwaita + sqlite + ]; + + meta = with lib; { + description = "Track your time without being tracked"; + homepage = "https://github.com/lakoliu/Furtherance"; + license = licenses.gpl3Plus; + platforms = platforms.linux; + maintainers = with maintainers; [ CaptainJawZ ]; + }; +} |