3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/database/clickhouse-backup/default.nix
Maximilian Bosch 6020c755ed
clickhouse-backup: init at 1.2.2
Tool to create & restore backups of ClickHouse databases with support
for miscellaneous cloud storages.
2021-12-02 19:24:38 +01:00

28 lines
704 B
Nix

{ 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;
};
}