about summary refs log tree commit diff stats
path: root/pkgs/by-name/sn
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkgs/by-name/sn/snap-sync-forked/package.nix36
-rwxr-xr-xpkgs/by-name/sn/snap-sync-forked/snap-sync-forked.sh (renamed from pkgs/sources/snap-sync-forked/snap-sync-forked.sh)0
2 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/by-name/sn/snap-sync-forked/package.nix b/pkgs/by-name/sn/snap-sync-forked/package.nix
new file mode 100644
index 00000000..b3f40b24
--- /dev/null
+++ b/pkgs/by-name/sn/snap-sync-forked/package.nix
@@ -0,0 +1,36 @@
+{
+  sysLib,
+  bash,
+  btrfs-progs,
+  coreutils,
+  gawk,
+  gnugrep,
+  snapper,
+  util-linux,
+  # optional
+  libnotify,
+  openssh,
+  pv,
+  rsync,
+  sudo,
+}:
+sysLib.writeShellScript {
+  name = "snap-sync-forked";
+  src = ./snap-sync-forked.sh;
+  dependencies = [
+    bash
+    btrfs-progs
+    coreutils
+    gawk
+    gnugrep
+    snapper
+    util-linux
+
+    # optional:
+    libnotify
+    openssh
+    pv
+    rsync
+    sudo
+  ];
+}
diff --git a/pkgs/sources/snap-sync-forked/snap-sync-forked.sh b/pkgs/by-name/sn/snap-sync-forked/snap-sync-forked.sh
index 3d9c1ac9..3d9c1ac9 100755
--- a/pkgs/sources/snap-sync-forked/snap-sync-forked.sh
+++ b/pkgs/by-name/sn/snap-sync-forked/snap-sync-forked.sh