diskrsync: init at unstable-2017-09-27
This commit is contained in:
parent
f59a0f7f1a
commit
9a5b545e86
27
pkgs/tools/backup/diskrsync/default.nix
Normal file
27
pkgs/tools/backup/diskrsync/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ 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 ];
|
||||
};
|
||||
|
||||
}
|
21
pkgs/tools/backup/diskrsync/deps.nix
Normal file
21
pkgs/tools/backup/diskrsync/deps.nix
Normal file
@ -0,0 +1,21 @@
|
||||
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/dop251/spgz";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/dop251/spgz";
|
||||
rev = "ca4328964eba8a1863356b3d927d4f6a10c966b5";
|
||||
sha256 = "06m48hfgyj30704my205chw42xkpwfm6lv0jvhgqkkhhhs9sly62";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/crypto";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/crypto";
|
||||
rev = "95a4943f35d008beabde8c11e5075a1b714e6419";
|
||||
sha256 = "0bkm0jx9mxmi1liabb9c04kf765n7d0062zdp3zmvzyamsq00lcx";
|
||||
};
|
||||
}
|
||||
]
|
@ -1769,6 +1769,8 @@ with pkgs;
|
||||
|
||||
dev86 = callPackage ../development/compilers/dev86 { };
|
||||
|
||||
diskrsync = callPackage ../tools/backup/diskrsync { };
|
||||
|
||||
djbdns = callPackage ../tools/networking/djbdns { };
|
||||
|
||||
dnscrypt-proxy = callPackage ../tools/networking/dnscrypt-proxy { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user