about summary refs log tree commit diff
path: root/pkgs/tools/filesystems
diff options
context:
space:
mode:
authorRobert Schütz <rschuetz17@gmail.com>2018-08-30 16:33:53 +0200
committerxeji <36407913+xeji@users.noreply.github.com>2018-08-30 16:33:53 +0200
commit4b4c871401345e9c4a679a6d3700409acc05858d (patch)
tree5cb866fab8096feff2dbcfef2f871579a1f16bcc /pkgs/tools/filesystems
parentc410519ae2803c2e80bb4b78257c7c57f66085d6 (diff)
downloadnixlib-4b4c871401345e9c4a679a6d3700409acc05858d.tar
nixlib-4b4c871401345e9c4a679a6d3700409acc05858d.tar.gz
nixlib-4b4c871401345e9c4a679a6d3700409acc05858d.tar.bz2
nixlib-4b4c871401345e9c4a679a6d3700409acc05858d.tar.lz
nixlib-4b4c871401345e9c4a679a6d3700409acc05858d.tar.xz
nixlib-4b4c871401345e9c4a679a6d3700409acc05858d.tar.zst
nixlib-4b4c871401345e9c4a679a6d3700409acc05858d.zip
buttersink: move out of pythonPackages (#45783)
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r--pkgs/tools/filesystems/buttersink/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/buttersink/default.nix b/pkgs/tools/filesystems/buttersink/default.nix
new file mode 100644
index 000000000000..791d59b7ac27
--- /dev/null
+++ b/pkgs/tools/filesystems/buttersink/default.nix
@@ -0,0 +1,30 @@
+{ lib, python2 }:
+
+python2.pkgs.buildPythonApplication rec {
+  pname = "buttersink";
+  version = "0.6.9";
+
+  src = python2.pkgs.fetchPypi {
+    inherit pname version;
+    sha256 = "a797b6e92ad2acdf41e033c1368ab365aa268f4d8458b396a5770fa6c2bc3f54";
+  };
+
+  propagatedBuildInputs = with python2.pkgs; [ boto crcmod psutil ];
+
+  # No tests implemented
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Synchronise btrfs snapshots";
+    longDescription = ''
+      ButterSink is like rsync, but for btrfs subvolumes instead of files,
+      which makes it much more efficient for things like archiving backup
+      snapshots. It is built on top of btrfs send and receive capabilities.
+      Sources and destinations can be local btrfs file systems, remote btrfs
+      file systems over SSH, or S3 buckets.
+    '';
+    homepage = https://github.com/AmesCornish/buttersink/wiki;
+    license = licenses.gpl3;
+    platforms = platforms.linux;
+  };
+}