summary refs log tree commit diff
path: root/pkgs/tools/backup/wal-e/default.nix
blob: af1506bff6e92ab54510a2d26ba850e35c92ac36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ stdenv, fetchurl, pythonPackages, lzop, postgresql, pv }:

pythonPackages.buildPythonApplication rec {
  pname = "wal-e";
  version = "0.6.10";

  namePrefix = "";

  src = fetchurl {
    url = "https://github.com/wal-e/wal-e/archive/v${version}.tar.gz";
    sha256 = "1hms24xz7wx3b91vv56fhcc3j0cszwqwnmwhka4yl90202hvdir2";
  };

  # needs tox
  doCheck = false;

  propagatedBuildInputs = [
    pythonPackages.boto
    pythonPackages.gevent
    postgresql
    lzop
    pv
  ];

  meta = {
    description = "A Postgres WAL-shipping disaster recovery and replication toolkit";
    homepage = "https://github.com/wal-e/wal-e";
    maintainers = [];
    license = stdenv.lib.licenses.bsd3;
    platforms = stdenv.lib.platforms.linux;
  };
}