Merge pull request #148312 from Ma27/clickhouse-backup

clickhouse-backup: init at 1.2.2
This commit is contained in:
Maximilian Bosch 2021-12-04 14:46:56 +01:00 committed by GitHub
commit 531ddb718b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ buildGoModule, lib, fetchFromGitHub }:
buildGoModule rec {
pname = "clickhouse-backup";
version = "1.2.2";
src = fetchFromGitHub {
owner = "AlexAkulov";
repo = pname;
rev = "v${version}";
sha256 = "sha256-ThN1uvofIvV5Dt6dqxLpekTRy9pV4xb0bkVNRcfNJ2c=";
};
vendorSha256 = "sha256-OQGpWWerUv2asjpjMLAkgeb0Q+lMAsDXjFCh0I4ze20=";
postConfigure = ''
export CGO_ENABLED=0
'';
meta = with lib; {
homepage = "https://github.com/AlexAkulov/clickhouse-backup";
description = "Tool for easy ClickHouse backup and restore with cloud storages support";
license = licenses.mit;
maintainers = with maintainers; [ ma27 ];
platforms = platforms.linux;
};
}

View file

@ -20650,6 +20650,8 @@ with pkgs;
clickhouse-cli = with python3Packages; toPythonApplication clickhouse-cli;
clickhouse-backup = callPackage ../development/tools/database/clickhouse-backup { };
couchdb3 = callPackage ../servers/http/couchdb/3.nix {
erlang = erlangR22;
};