2018-08-30 16:33:53 +02:00
|
|
|
{ lib, python2 }:
|
2018-03-31 12:11:47 +02:00
|
|
|
|
2018-08-30 16:33:53 +02:00
|
|
|
python2.pkgs.buildPythonApplication rec {
|
2018-03-31 12:11:47 +02:00
|
|
|
pname = "buttersink";
|
2018-07-22 12:05:57 +02:00
|
|
|
version = "0.6.9";
|
2018-03-31 12:11:47 +02:00
|
|
|
|
2018-08-30 16:33:53 +02:00
|
|
|
src = python2.pkgs.fetchPypi {
|
2018-03-31 12:11:47 +02:00
|
|
|
inherit pname version;
|
2018-08-30 16:33:53 +02:00
|
|
|
sha256 = "a797b6e92ad2acdf41e033c1368ab365aa268f4d8458b396a5770fa6c2bc3f54";
|
2018-03-31 12:11:47 +02:00
|
|
|
};
|
|
|
|
|
2018-08-30 16:33:53 +02:00
|
|
|
propagatedBuildInputs = with python2.pkgs; [ boto crcmod psutil ];
|
2018-03-31 12:11:47 +02:00
|
|
|
|
2018-08-30 16:33:53 +02:00
|
|
|
# No tests implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2018-03-31 12:11:47 +02:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/AmesCornish/buttersink/wiki";
|
2018-03-31 12:11:47 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|