diff options
author | Robert Schütz <dev@schuetz-co.de> | 2021-06-29 00:12:51 +0200 |
---|---|---|
committer | Robert Schütz <dev@schuetz-co.de> | 2021-06-29 00:13:00 +0200 |
commit | 5dcfdb5bd679fb3773ca4f7b56a9918a0072fb46 (patch) | |
tree | 09010c29c1ce4239adcbb34bab9b48f2308fc59d /pkgs/applications/backup/restique | |
parent | 91f13012c587af0eb54caf3bb6b06346ab940b66 (diff) |
restique: init at unstable-2021-05-03
Diffstat (limited to 'pkgs/applications/backup/restique')
-rw-r--r-- | pkgs/applications/backup/restique/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/applications/backup/restique/default.nix b/pkgs/applications/backup/restique/default.nix new file mode 100644 index 0000000000000..744379f213da4 --- /dev/null +++ b/pkgs/applications/backup/restique/default.nix @@ -0,0 +1,41 @@ +{ lib +, mkDerivation +, fetchFromGitea +, cmake +, libsecret +, qtkeychain +, restic +}: + +mkDerivation rec { + pname = "restique"; + version = "unstable-2021-05-03"; + + src = fetchFromGitea { + domain = "git.srcbox.net"; + owner = "stefan"; + repo = "restique"; + rev = "f83ea63c2e2f2a41e845f54c7fe2c391a528a121"; + sha256 = "0j1qihv7hd90xkfm4ksv74q6m7cq781fbdnc3l4spcd7h2p8lh0z"; + }; + + nativeBuildInputs = [ + cmake + ]; + + buildInputs = [ + libsecret + qtkeychain + ]; + + 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 ]; + }; +} |