Skip to content

Commit

Permalink
Merge pull request #52409 from ffinkdevs/master
Browse files Browse the repository at this point in the history
duplicacy: init at 2.1.2
  • Loading branch information
Mic92 authored Mar 22, 2019
2 parents 5cb066c + 9e293b3 commit 34bc84d
Show file tree
Hide file tree
Showing 4 changed files with 375 additions and 0 deletions.
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1588,6 +1588,11 @@
github = "fdns";
name = "Felipe Espinoza";
};
ffinkdevs = {
email = "[email protected]";
github = "ffinkdevs";
name = "Fabian Fink";
};
fgaz = {
email = "[email protected]";
github = "fgaz";
Expand Down
32 changes: 32 additions & 0 deletions pkgs/tools/backup/duplicacy/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
pname = "duplicacy";
version = "2.1.2";

goPackagePath = "github.com/gilbertchen/duplicacy/";

src = fetchFromGitHub {
owner = "gilbertchen";
repo = "duplicacy";
rev = "v${version}";
sha256 = "0v3rk4da4b6dhqq8zsr4z27wd8p7crxapkn265kwpsaa99xszzbv";
};
goDeps = ./deps.nix;
buildPhase = ''
cd go/src/${goPackagePath}
go build duplicacy/duplicacy_main.go
'';

installPhase = ''
install -D duplicacy_main $bin/bin/duplicacy
'';

meta = with lib; {
homepage = https://duplicacy.com;
description = "A new generation cloud backup tool ";
platforms = platforms.linux ++ platforms.darwin;
license = lib.licenses.unfree;
maintainers = with maintainers; [ ffinkdevs ];
};
}
336 changes: 336 additions & 0 deletions pkgs/tools/backup/duplicacy/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 @@ -2418,6 +2418,8 @@ in

duo-unix = callPackage ../tools/security/duo-unix { };

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

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

duplicity = callPackage ../tools/backup/duplicity {
Expand Down

0 comments on commit 34bc84d

Please sign in to comment.