2019-10-26 12:58:10 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2019-10-17 12:35:16 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "zfsbackup";
|
2020-11-09 11:55:25 +00:00
|
|
|
version = "unstable-2020-09-30";
|
|
|
|
rev = "092f80846b23e02f99d2aa72d9d889eabfdcb053";
|
2019-10-17 12:35:16 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/someone1/zfsbackup-go";
|
|
|
|
|
2019-10-26 12:58:10 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "someone1";
|
|
|
|
repo = "zfsbackup-go";
|
2019-10-17 12:35:16 +00:00
|
|
|
inherit rev;
|
2020-11-09 11:55:25 +00:00
|
|
|
sha256 = "1xiacaf4r9jkx0m8wjfis14cq622yhljldwkflh9ni3khax7dlgi";
|
2019-10-17 12:35:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
2019-10-24 21:21:33 +00:00
|
|
|
meta = with lib; {
|
2019-10-17 12:35:16 +00:00
|
|
|
description = "Backup ZFS snapshots to cloud storage such as Google, Amazon, Azure, etc";
|
|
|
|
homepage = "https://github.com/someone1/zfsbackup-go";
|
2019-10-24 21:21:33 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.xfix ];
|
2019-10-17 12:35:16 +00:00
|
|
|
};
|
|
|
|
}
|