nixpkgs/pkgs/applications/misc/furtherance/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, rustPlatform
, appstream-glib, cargo, desktop-file-utils, glib, libadwaita, meson, ninja
, pkg-config, rustc, wrapGAppsHook4
, dbus, gtk4, sqlite
}:
2022-07-23 02:52:41 +00:00
stdenv.mkDerivation (finalAttrs: {
2022-07-23 02:52:41 +00:00
pname = "furtherance";
2023-06-30 18:54:45 +00:00
version = "1.8.1";
2022-07-23 02:52:41 +00:00
src = fetchFromGitHub {
owner = "lakoliu";
repo = "Furtherance";
rev = "v${finalAttrs.version}";
2023-06-30 18:54:45 +00:00
hash = "sha256-KNC0e1Qfls+TcUDPvLaTWWF4ELBJYPE7Oo9/4PK10js=";
2022-07-23 02:52:41 +00:00
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit (finalAttrs) src;
name = "${finalAttrs.pname}-${finalAttrs.version}";
2023-06-30 18:54:45 +00:00
hash = "sha256-NHrKk7XgqeEuNAOyIDfzFJzIExTpUfv83Pdv/NPkgYQ=";
2022-07-23 02:52:41 +00:00
};
nativeBuildInputs = [
appstream-glib
desktop-file-utils
meson
ninja
pkg-config
rustPlatform.cargoSetupHook
cargo
rustc
2022-07-23 02:52:41 +00:00
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 ];
};
})