nixpkgs-suyu/pkgs/tools/backup/wal-g/default.nix

22 lines
546 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchFromGitHub }:
2017-11-17 14:44:03 +01:00
buildGoPackage rec {
name = "wal-g-${version}";
2018-09-10 01:26:41 +02:00
version = "0.1.12";
src = fetchFromGitHub {
owner = "wal-g";
repo = "wal-g";
rev = "v${version}";
2018-09-10 01:26:41 +02:00
sha256 = "06k71xz96jpg6966xj48a8j07v0vk37b5v2k1bnqrbin4sma3s0c";
2017-11-17 14:44:03 +01:00
};
2017-11-17 14:44:03 +01:00
goPackagePath = "github.com/wal-g/wal-g";
meta = {
2018-09-10 01:26:41 +02:00
inherit (src.meta) homepage;
license = stdenv.lib.licenses.asl20;
2017-11-17 14:44:03 +01:00
description = "An archival restoration tool for Postgres";
maintainers = [ stdenv.lib.maintainers.ocharles ];
};
}