Skip to content

Commit

Permalink
Merge pull request NixOS#71284 from xfix/zfsbackup-go
Browse files Browse the repository at this point in the history
zfsbackup: init at unstable-2019-03-05
  • Loading branch information
markuskowa authored Oct 26, 2019
2 parents fe625dc + 0fbf0d1 commit 4c0afa1
Show file tree
Hide file tree
Showing 3 changed files with 300 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pkgs/tools/backup/zfsbackup/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{ lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
pname = "zfsbackup";
version = "unstable-2019-03-05";
rev = "78fea6e99f0a5a4c8513d3a3d1d45fb6750cfddf";

goPackagePath = "github.com/someone1/zfsbackup-go";

src = fetchFromGitHub {
owner = "someone1";
repo = "zfsbackup-go";
inherit rev;
sha256 = "0yalsfvzmcnc8yfzm3r5dikqrp57spwa16l7gbzvgqqcz4vlnw3n";
};

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 ];
};
}
273 changes: 273 additions & 0 deletions pkgs/tools/backup/zfsbackup/deps.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7285,6 +7285,8 @@ in

zerofree = callPackage ../tools/filesystems/zerofree { };

zfsbackup = callPackage ../tools/backup/zfsbackup { };

zfstools = callPackage ../tools/filesystems/zfstools { };

zile = callPackage ../applications/editors/zile { };
Expand Down

0 comments on commit 4c0afa1

Please sign in to comment.