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