nixpkgs/pkgs/by-name/on/one-click-backup/package.nix
NIS ee28c27e50 one-click-backup: init at 1.2.2.1
Co-authored-by: Cosima Neidahl <opna2608@protonmail.com>
2024-02-21 19:02:03 +01:00

43 lines
1003 B
Nix

{ lib
, stdenv
, fetchFromGitLab
, cmake
, ninja
, qt6
, extra-cmake-modules
}:
stdenv.mkDerivation (finalAttrs: {
pname = "one-click-backup";
version = "1.2.2.1";
src = fetchFromGitLab {
owner = "dev-nis";
repo = "nis-one-click-backup-qt";
rev = finalAttrs.version;
hash = "sha256-F+gA+Z4gZoNJYdy28uIjqiJcwcNsyUzl6BXsiIZO0gE=";
};
nativeBuildInputs = [
cmake
ninja
qt6.wrapQtAppsHook
];
buildInputs = [
qt6.qtdeclarative
extra-cmake-modules
];
meta = with lib; {
description = "Simple Program to backup folders to an external location by copying them";
homepage = "https://gitlab.com/dev-nis/nis-one-click-backup-qt";
changelog = "https://gitlab.com/dev-nis/nis-one-click-backup-qt/-/blob/${finalAttrs.version}/CHANGELOG.md";
license = licenses.gpl3Only;
maintainers = with maintainers; [ NIS ];
mainProgram = "NIS_One-Click-Backup_Qt";
platforms = platforms.all;
broken = stdenv.hostPlatform.isDarwin;
};
})