about summary refs log tree commit diff
path: root/pkgs/by-name/on
diff options
context:
space:
mode:
authorCosima Neidahl <opna2608@protonmail.com>2024-03-03 19:13:35 +0100
committerGitHub <noreply@github.com>2024-03-03 19:13:35 +0100
commit12012f534d291f28d12ba92d5826ecded0669184 (patch)
tree3598538d6dd88e198f5b60b0cd98f0949cabaead /pkgs/by-name/on
parent893e5680e4d173557dba5de276377fc8844c297d (diff)
parentee28c27e50ce543f8d81bdf29a61c2815a138aec (diff)
downloadnixlib-12012f534d291f28d12ba92d5826ecded0669184.tar
nixlib-12012f534d291f28d12ba92d5826ecded0669184.tar.gz
nixlib-12012f534d291f28d12ba92d5826ecded0669184.tar.bz2
nixlib-12012f534d291f28d12ba92d5826ecded0669184.tar.lz
nixlib-12012f534d291f28d12ba92d5826ecded0669184.tar.xz
nixlib-12012f534d291f28d12ba92d5826ecded0669184.tar.zst
nixlib-12012f534d291f28d12ba92d5826ecded0669184.zip
Merge pull request #287497 from dev-nis/master
Add NIS One-Click-Backup
Diffstat (limited to 'pkgs/by-name/on')
-rw-r--r--pkgs/by-name/on/one-click-backup/package.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/by-name/on/one-click-backup/package.nix b/pkgs/by-name/on/one-click-backup/package.nix
new file mode 100644
index 000000000000..c12693559670
--- /dev/null
+++ b/pkgs/by-name/on/one-click-backup/package.nix
@@ -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;
+  };
+})