2018-04-09 10:39:02 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
2017-11-17 14:44:03 +01:00
|
|
|
buildGoPackage rec {
|
|
|
|
name = "wal-g-${version}";
|
2018-08-08 10:03:47 +02:00
|
|
|
version = "0.1.10";
|
2018-04-09 10:39:02 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-08-08 10:03:47 +02:00
|
|
|
owner = "wal-g";
|
|
|
|
repo = "wal-g";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0klqnrrjzzxcj3clg7vapmbga1vqsfh8mkci5r2ir1bjp0z1xfnp";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|