restique: unstable-2022-11-29 -> 0-unstable-2024-10-20; move to pkgs/by-name (#394340)

This commit is contained in:
Weijia Wang 2025-07-24 12:55:40 +02:00 committed by GitHub
commit 0918e19254
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 52 additions and 54 deletions

View File

@ -1,52 +0,0 @@
{
lib,
mkDerivation,
fetchFromGitea,
cmake,
libsecret,
qtkeychain,
qttools,
restic,
}:
mkDerivation {
pname = "restique";
version = "unstable-2022-11-29";
src = fetchFromGitea {
domain = "git.srcbox.net";
owner = "stefan";
repo = "restique";
rev = "906b0b1726c26988c910baea9665f540c37c99c4";
hash = "sha256-EYoADtYX+gm8T3/3gxTtdFOFGJf2rXryiTu8NIO0Ez4=";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
libsecret
qtkeychain
qttools
];
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 ];
mainProgram = "restique";
};
}

View File

@ -0,0 +1,52 @@
{
lib,
stdenv,
qt5,
libsForQt5,
fetchgit,
cmake,
libsecret,
restic,
}:
stdenv.mkDerivation {
pname = "restique";
version = "0-unstable-2024-10-20";
# using fetchFromGitea returns 404
src = fetchgit {
url = "https://git.srcbox.net/stefan/restique";
rev = "340d8326c2a2221ec155512cc6ffb2c8a866c525";
hash = "sha256-IBg8hRJ7nugHP+JLg0fTONgZ+oRdkJpeZzflrwSG20w=";
};
nativeBuildInputs = [
cmake
qt5.wrapQtAppsHook
];
buildInputs = [
libsecret
libsForQt5.qtkeychain
qt5.qttools
];
qtWrapperArgs = [
"--prefix"
"PATH"
":"
(lib.makeBinPath [ restic ])
];
meta = {
description = "Restic GUI for Desktop/Laptop Backups";
homepage = "https://git.srcbox.net/stefan/restique";
license = with lib.licenses; [
gpl3Plus
cc-by-sa-40
cc0
];
maintainers = with lib.maintainers; [ dotlambda ];
mainProgram = "restique";
};
}

View File

@ -13622,8 +13622,6 @@ with pkgs;
rednotebook = python3Packages.callPackage ../applications/editors/rednotebook { };
restique = libsForQt5.callPackage ../applications/backup/restique { };
retroshare = libsForQt5.callPackage ../applications/networking/p2p/retroshare { };
rgp = libsForQt5.callPackage ../development/tools/rgp { };