2021-07-03 03:11:41 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitea
|
|
|
|
, cmake
|
|
|
|
, libsecret
|
|
|
|
, qtkeychain
|
2023-04-29 16:46:19 +00:00
|
|
|
, qttools
|
2021-07-03 03:11:41 +00:00
|
|
|
, restic
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "restique";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "unstable-2022-11-29";
|
2021-07-03 03:11:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "git.srcbox.net";
|
|
|
|
owner = "stefan";
|
|
|
|
repo = "restique";
|
2023-04-29 16:46:19 +00:00
|
|
|
rev = "906b0b1726c26988c910baea9665f540c37c99c4";
|
|
|
|
hash = "sha256-EYoADtYX+gm8T3/3gxTtdFOFGJf2rXryiTu8NIO0Ez4=";
|
2021-07-03 03:11:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libsecret
|
|
|
|
qtkeychain
|
2023-04-29 16:46:19 +00:00
|
|
|
qttools
|
2021-07-03 03:11:41 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
qtWrapperArgs = [
|
|
|
|
"--prefix" "PATH" ":" (lib.makeBinPath [ restic ])
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Restic GUI for Desktop/Laptop Backups";
|
|
|
|
homepage = "https://git.srcbox.net/stefan/restique";
|
|
|
|
license = with licenses; [ gpl3Plus cc-by-sa-40 cc0 ];
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "restique";
|
2021-07-03 03:11:41 +00:00
|
|
|
};
|
|
|
|
}
|