2023-05-12 16:17:16 +02:00
|
|
|
{ lib, stdenv, fetchFromGitHub, rustPlatform
|
|
|
|
, appstream-glib, cargo, desktop-file-utils, glib, libadwaita, meson, ninja
|
|
|
|
, pkg-config, rustc, wrapGAppsHook4
|
|
|
|
, dbus, gtk4, sqlite
|
|
|
|
}:
|
2022-07-23 04:52:41 +02:00
|
|
|
|
2023-06-07 17:23:08 +02:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2022-07-23 04:52:41 +02:00
|
|
|
pname = "furtherance";
|
2024-02-10 18:04:19 +01:00
|
|
|
version = "1.8.3";
|
2022-07-23 04:52:41 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lakoliu";
|
|
|
|
repo = "Furtherance";
|
2023-06-07 17:23:08 +02:00
|
|
|
rev = "v${finalAttrs.version}";
|
2024-02-10 18:04:19 +01:00
|
|
|
hash = "sha256-TxYARpCqqjjwinoRU2Wjihp+FYIvcI0YCGlOuumX6To=";
|
2022-07-23 04:52:41 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
2023-06-07 17:23:08 +02:00
|
|
|
inherit (finalAttrs) src;
|
|
|
|
name = "${finalAttrs.pname}-${finalAttrs.version}";
|
2024-02-10 18:04:19 +01:00
|
|
|
hash = "sha256-VGBxBHs/kqW0mvOiz0UQRg0duDmW8ee9cSh6EOT9aaY=";
|
2022-07-23 04:52:41 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
appstream-glib
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
rustPlatform.cargoSetupHook
|
2023-05-12 16:17:16 +02:00
|
|
|
cargo
|
|
|
|
rustc
|
2022-07-23 04:52:41 +02:00
|
|
|
wrapGAppsHook4
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dbus
|
|
|
|
glib
|
|
|
|
gtk4
|
|
|
|
libadwaita
|
|
|
|
sqlite
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Track your time without being tracked";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "furtherance";
|
2022-07-23 04:52:41 +02:00
|
|
|
homepage = "https://github.com/lakoliu/Furtherance";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ CaptainJawZ ];
|
|
|
|
};
|
2023-06-07 17:23:08 +02:00
|
|
|
})
|