Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchFromGitHub, python3Packages, lzop, postgresql, pv }: 2 3python3Packages.buildPythonApplication rec { 4 pname = "wal-e"; 5 version = "1.1.1"; 6 7 namePrefix = ""; 8 9 src = fetchFromGitHub { 10 owner = "wal-e"; 11 repo = "wal-e"; 12 rev = "v${version}"; 13 hash = "sha256-I6suHkAYzDtlNFNPH4SziY93Ryp+NTHkCBuojDvv+U4="; 14 }; 15 16 # needs tox 17 doCheck = false; 18 19 propagatedBuildInputs = (with python3Packages; [ 20 boto 21 gevent 22 google-cloud-storage 23 ]) ++ [ 24 postgresql 25 lzop 26 pv 27 ]; 28 29 meta = { 30 description = "A Postgres WAL-shipping disaster recovery and replication toolkit"; 31 homepage = "https://github.com/wal-e/wal-e"; 32 maintainers = [ ]; 33 license = lib.licenses.bsd3; 34 platforms = lib.platforms.linux; 35 }; 36}