nixpkgs/pkgs/tools/backup/diskrsync/default.nix

28 lines
685 B
Nix
Raw Normal View History

2017-12-31 08:52:30 +00:00
{ buildGoPackage, fetchFromGitHub, stdenv }:
buildGoPackage rec {
name = "${pname}-${version}";
pname = "diskrsync";
version = "unstable-2017-09-27";
src = fetchFromGitHub {
owner = "dop251";
repo = pname;
rev = "45818879a98edceaa915739c1b8ece58e4b34866";
sha256 = "0jvx5manh1z0shvg616vw0n5cp5v4bljk6h3mmw3bdskg9r076lh";
};
goPackagePath = "github.com/dop251/diskrsync";
goDeps = ./deps.nix;
meta = with stdenv.lib; {
description = "Rsync for block devices and disk images";
homepage = https://github.com/dop251/diskrsync;
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ jluttine ];
};
}