mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Merge pull request #287497 from dev-nis/master
Add NIS One-Click-Backup
This commit is contained in:
commit
12012f534d
2 changed files with 47 additions and 0 deletions
|
@ -13928,6 +13928,11 @@
|
||||||
githubId = 3159451;
|
githubId = 3159451;
|
||||||
name = "Nicolas Schneider";
|
name = "Nicolas Schneider";
|
||||||
};
|
};
|
||||||
|
NIS = {
|
||||||
|
name = "NSC IT Solutions";
|
||||||
|
github = "dev-nis";
|
||||||
|
githubId = 132921300;
|
||||||
|
};
|
||||||
nitsky = {
|
nitsky = {
|
||||||
name = "nitsky";
|
name = "nitsky";
|
||||||
github = "nitsky";
|
github = "nitsky";
|
||||||
|
|
42
pkgs/by-name/on/one-click-backup/package.nix
Normal file
42
pkgs/by-name/on/one-click-backup/package.nix
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
{ 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;
|
||||||
|
};
|
||||||
|
})
|
Loading…
Add table
Add a link
Reference in a new issue