about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/backup/wal-e/default.nix
blob: 544f61918de99b48f806f4ead51edfdcb1502f59 (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
33
34
35
36
{ lib, fetchFromGitHub, python3Packages, lzop, postgresql, pv }:

python3Packages.buildPythonApplication rec {
  pname = "wal-e";
  version = "1.1.1";

  namePrefix = "";

  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";
    maintainers = [ ];
    license = lib.licenses.bsd3;
    platforms = lib.platforms.linux;
  };
}