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