2021-01-15 10:19:50 +01:00
|
|
|
{ lib, stdenv, fetchurl, python3Packages, lzop, postgresql, pv }:
|
2014-03-30 04:26:24 +02:00
|
|
|
|
2020-10-31 20:50:33 +01:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "wal-e";
|
2020-10-31 20:50:33 +01:00
|
|
|
version = "1.1.1";
|
2014-03-30 04:26:24 +02:00
|
|
|
|
|
|
|
namePrefix = "";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/wal-e/wal-e/archive/v${version}.tar.gz";
|
2020-10-31 20:50:33 +01:00
|
|
|
sha256 = "5TTd7NTO73+MCJf3dHIcNojjHdoaKJ1T051iW7Kt9Ow=";
|
2014-03-30 04:26:24 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
# needs tox
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-10-31 20:50:33 +01:00
|
|
|
propagatedBuildInputs = (with python3Packages; [
|
|
|
|
boto
|
|
|
|
gevent
|
2021-01-06 10:46:48 +01:00
|
|
|
google-cloud-storage
|
2020-10-31 20:50:33 +01:00
|
|
|
]) ++ [
|
2014-03-30 04:26:24 +02:00
|
|
|
postgresql
|
|
|
|
lzop
|
|
|
|
pv
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Postgres WAL-shipping disaster recovery and replication toolkit";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/wal-e/wal-e";
|
2019-08-20 15:24:01 +02:00
|
|
|
maintainers = [];
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
platforms = lib.platforms.linux;
|
2014-03-30 04:26:24 +02:00
|
|
|
};
|
|
|
|
}
|