Skip to content

Commit

Permalink
duplicacy: init at 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ffinkdevs committed Dec 16, 2018
1 parent f4d4ee3 commit a21de12
Show file tree
Hide file tree
Showing 4 changed files with 376 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 @@ -1467,6 +1467,11 @@
github = "fdns";
name = "Felipe Espinoza";
};
ffinkdevs = {
email = "[email protected]";
github = "ffinkdevs";
name = "Fabian Fink";
};
fgaz = {
email = "[email protected]";
github = "fgaz";
Expand Down
33 changes: 33 additions & 0 deletions pkgs/tools/backup/duplicacy/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
name = "duplicacy-${version}";
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 = ''
mkdir -p $bin/bin
cp 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 @@ -2367,6 +2367,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 a21de12

Please sign in to comment.