nixpkgs/pkgs/applications/backup/restique/default.nix

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

45 lines
868 B
Nix
Raw Normal View History

2021-06-28 22:12:51 +00:00
{ lib
, mkDerivation
, fetchFromGitea
, cmake
, libsecret
, qtkeychain
, qttools
2021-06-28 22:12:51 +00:00
, restic
}:
mkDerivation rec {
pname = "restique";
version = "unstable-2022-11-29";
2021-06-28 22:12:51 +00:00
src = fetchFromGitea {
domain = "git.srcbox.net";
owner = "stefan";
repo = "restique";
rev = "906b0b1726c26988c910baea9665f540c37c99c4";
hash = "sha256-EYoADtYX+gm8T3/3gxTtdFOFGJf2rXryiTu8NIO0Ez4=";
2021-06-28 22:12:51 +00:00
};
nativeBuildInputs = [
cmake
];
buildInputs = [
libsecret
qtkeychain
qttools
2021-06-28 22:12:51 +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 ];
2023-11-27 01:17:53 +00:00
mainProgram = "restique";
2021-06-28 22:12:51 +00:00
};
}