2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "zfsbackup";
|
2020-11-19 00:13:47 +00:00
|
|
|
version = "unstable-2020-09-30";
|
|
|
|
rev = "092f80846b23e02f99d2aa72d9d889eabfdcb053";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/someone1/zfsbackup-go";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "someone1";
|
|
|
|
repo = "zfsbackup-go";
|
|
|
|
inherit rev;
|
2020-11-19 00:13:47 +00:00
|
|
|
sha256 = "1xiacaf4r9jkx0m8wjfis14cq622yhljldwkflh9ni3khax7dlgi";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Backup ZFS snapshots to cloud storage such as Google, Amazon, Azure, etc";
|
|
|
|
homepage = "https://github.com/someone1/zfsbackup-go";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.xfix ];
|
|
|
|
};
|
|
|
|
}
|