nixpkgs/pkgs/tools/backup/wal-e/default.nix

37 lines
760 B
Nix
Raw Normal View History

2021-09-19 20:08:20 +03:00
{ lib, fetchFromGitHub, python3Packages, lzop, postgresql, pv }:
python3Packages.buildPythonApplication rec {
pname = "wal-e";
version = "1.1.1";
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=";
};
# needs tox
doCheck = false;
propagatedBuildInputs = (with python3Packages; [
boto
gevent
google-cloud-storage
]) ++ [
postgresql
lzop
pv
];
meta = {
description = "A Postgres WAL-shipping disaster recovery and replication toolkit";
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;
};
}