From ff81b059498dc691464906478a6608c8c9d7c150 Mon Sep 17 00:00:00 2001 From: Danilo Reyes Date: Fri, 22 Jul 2022 21:52:41 -0500 Subject: [PATCH] furtherance: init at 1.6.0 --- .../applications/misc/furtherance/default.nix | 48 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 50 insertions(+) create mode 100644 pkgs/applications/misc/furtherance/default.nix diff --git a/pkgs/applications/misc/furtherance/default.nix b/pkgs/applications/misc/furtherance/default.nix new file mode 100644 index 00000000000..1d1772dd672 --- /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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3d9a2ab1bec..f3f3f47dbcf 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26669,6 +26669,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Cocoa; }; + furtherance = callPackage ../applications/misc/furtherance { }; + gg-scm = callPackage ../applications/version-management/git-and-tools/gg { }; gigalixir = with python3Packages; toPythonApplication gigalixir;