2018-04-09 10:39:02 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
let
|
|
|
|
rev = "966f3c5f45ba18b2225c5b06918e41f56e223e73";
|
|
|
|
revCount = "240";
|
|
|
|
sha256 = "1m70a5rpycrfwrrc83745mamgpg54pc0n75qpzr9jbvicbp8g66p";
|
|
|
|
in
|
2017-11-17 14:44:03 +01:00
|
|
|
buildGoPackage rec {
|
|
|
|
name = "wal-g-${version}";
|
2018-04-09 10:39:02 +02:00
|
|
|
version = "0.1.8pre${revCount}_${builtins.substring 0 9 rev}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wal-g";
|
|
|
|
repo = "wal-g";
|
|
|
|
inherit rev sha256;
|
2017-11-17 14:44:03 +01:00
|
|
|
};
|
2018-04-09 10:39:02 +02:00
|
|
|
|
2017-11-17 14:44:03 +01:00
|
|
|
goPackagePath = "github.com/wal-g/wal-g";
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/wal-g/wal-g;
|
2017-11-17 14:55:14 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|