wal-e: switch to fetchFromGitHub

+7 -5
+7 -5
pkgs/tools/backup/wal-e/default.nix
··· 1 - { lib, fetchurl, python3Packages, lzop, postgresql, pv }: 2 3 python3Packages.buildPythonApplication rec { 4 pname = "wal-e"; ··· 6 7 namePrefix = ""; 8 9 - src = fetchurl { 10 - url = "https://github.com/wal-e/wal-e/archive/v${version}.tar.gz"; 11 - sha256 = "5TTd7NTO73+MCJf3dHIcNojjHdoaKJ1T051iW7Kt9Ow="; 12 }; 13 14 # needs tox ··· 27 meta = { 28 description = "A Postgres WAL-shipping disaster recovery and replication toolkit"; 29 homepage = "https://github.com/wal-e/wal-e"; 30 - maintainers = []; 31 license = lib.licenses.bsd3; 32 platforms = lib.platforms.linux; 33 };
··· 1 + { lib, fetchFromGitHub, python3Packages, lzop, postgresql, pv }: 2 3 python3Packages.buildPythonApplication rec { 4 pname = "wal-e"; ··· 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 ··· 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 };