diff --git a/pkgs/applications/backup/restique/default.nix b/pkgs/applications/backup/restique/default.nix new file mode 100644 index 00000000000..744379f213d --- /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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5afb6fa3f61..82a7c017efd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26586,6 +26586,8 @@ in remotebox = callPackage ../applications/virtualization/remotebox { }; + restique = libsForQt5.callPackage ../applications/backup/restique { }; + retroshare = libsForQt5.callPackage ../applications/networking/p2p/retroshare { }; rgp = libsForQt5.callPackage ../development/tools/rgp { };