mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
ee28c27e50
Co-authored-by: Cosima Neidahl <opna2608@protonmail.com>
43 lines
1003 B
Nix
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;
|
|
};
|
|
})
|