8 version = "unstable-2022-09-23";
9 rev = "a30f1a44bcae5f64cfb36a12926242a968a759c6";
11 src = fetchFromGitHub {
13 repo = "zfsbackup-go";
15 sha256 = "sha256-ZJ7gtT4AdMLEs2+hJa2Sia0hSoQd3CftdqRsH/oJxd8=";
18 vendorHash = "sha256-aYAficUFYYhZygfQZyczP49CeouAKKZJW8IFlkFh9lI=";
20 ldflags = [ "-w" "-s" ];
22 # Tests require loading the zfs kernel module.
26 description = "Backup ZFS snapshots to cloud storage such as Google, Amazon, Azure, etc";
27 homepage = "https://github.com/someone1/zfsbackup-go";
28 license = licenses.mit;
30 platforms = platforms.linux;
31 mainProgram = "zfsbackup-go";