diff options
author | Felix Buehler <account@buehler.rocks> | 2021-09-19 19:08:20 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-09-22 17:54:09 +0200 |
commit | 797843e42b22856f3513be6bfb4e9d89368fb40b (patch) | |
tree | 1cdb38199835811f2f0129921f8526149f2137f7 /pkgs/tools/backup/wal-e | |
parent | 3dd8b1366ecdb2122d3e253464306f6b3cc7b198 (diff) |
wal-e: switch to fetchFromGitHub
Diffstat (limited to 'pkgs/tools/backup/wal-e')
-rw-r--r-- | pkgs/tools/backup/wal-e/default.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/tools/backup/wal-e/default.nix b/pkgs/tools/backup/wal-e/default.nix index 8e54b58e20172..544f61918de99 100644 --- a/pkgs/tools/backup/wal-e/default.nix +++ b/pkgs/tools/backup/wal-e/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchurl, python3Packages, lzop, postgresql, pv }: +{ lib, fetchFromGitHub, python3Packages, lzop, postgresql, pv }: python3Packages.buildPythonApplication rec { pname = "wal-e"; @@ -6,9 +6,11 @@ python3Packages.buildPythonApplication rec { namePrefix = ""; - src = fetchurl { - url = "https://github.com/wal-e/wal-e/archive/v${version}.tar.gz"; - sha256 = "5TTd7NTO73+MCJf3dHIcNojjHdoaKJ1T051iW7Kt9Ow="; + src = fetchFromGitHub { + owner = "wal-e"; + repo = "wal-e"; + rev = "v${version}"; + hash = "sha256-I6suHkAYzDtlNFNPH4SziY93Ryp+NTHkCBuojDvv+U4="; }; # needs tox @@ -27,7 +29,7 @@ python3Packages.buildPythonApplication rec { meta = { description = "A Postgres WAL-shipping disaster recovery and replication toolkit"; homepage = "https://github.com/wal-e/wal-e"; - maintainers = []; + maintainers = [ ]; license = lib.licenses.bsd3; platforms = lib.platforms.linux; }; |