2018-11-25 08:57:22 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub, brotli }:
|
2018-04-09 09:39:02 +01:00
|
|
|
|
2017-11-17 13:44:03 +00:00
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "wal-g";
|
2018-11-25 08:57:22 +00:00
|
|
|
version = "0.2.0";
|
2018-04-09 09:39:02 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-08-08 09:03:47 +01:00
|
|
|
owner = "wal-g";
|
|
|
|
repo = "wal-g";
|
|
|
|
rev = "v${version}";
|
2018-11-25 08:57:22 +00:00
|
|
|
sha256 = "08lk7by1anxpd9v97xbf9443kk4n1w63zaar2nz86w8i3k3b4id9";
|
2017-11-17 13:44:03 +00:00
|
|
|
};
|
2018-04-09 09:39:02 +01:00
|
|
|
|
2018-11-25 08:57:22 +00:00
|
|
|
buildInputs = [ brotli ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2017-11-17 13:44:03 +00:00
|
|
|
goPackagePath = "github.com/wal-g/wal-g";
|
|
|
|
meta = {
|
2018-09-10 00:26:41 +01:00
|
|
|
inherit (src.meta) homepage;
|
2017-11-17 13:55:14 +00:00
|
|
|
license = stdenv.lib.licenses.asl20;
|
2017-11-17 13:44:03 +00:00
|
|
|
description = "An archival restoration tool for Postgres";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ocharles ];
|
2019-10-07 16:20:23 +01:00
|
|
|
broken = true;
|
2017-11-17 13:44:03 +00:00
|
|
|
};
|
|
|
|
}
|