Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13717,6 +13717,11 @@
githubId = 3159451;
name = "Nicolas Schneider";
};
NIS = {
name = "NSC IT Solutions";
github = "dev-nis";
githubId = 132921300;
};
nitsky = {
name = "nitsky";
github = "nitsky";
Expand Down
42 changes: 42 additions & 0 deletions pkgs/by-name/on/one-click-backup/package.nix
Original file line number Diff line number Diff line change
@@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra-cmake-modules goes to nativeBuildInputs in my experience

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#245900 (comment)

KDE's extra-cmake-modules is usually placed into nativeBuildInputs. strictDeps says that's wrong

];

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;
};
})