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

33 lines
783 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pythonPackages, lzop, postgresql, pv }:
pythonPackages.buildPythonApplication rec {
name = "wal-e-${version}";
2014-09-16 09:49:21 +01:00
version = "0.6.10";
namePrefix = "";
src = fetchurl {
url = "https://github.com/wal-e/wal-e/archive/v${version}.tar.gz";
2014-09-16 09:49:21 +01:00
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 = [ stdenv.lib.maintainers.rickynils ];
2014-05-01 09:51:15 +01:00
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.linux;
};
}