wal-e: switch to fetchFromGitHub
This commit is contained in:
parent
3dd8b1366e
commit
797843e42b
@ -1,4 +1,4 @@
|
|||||||
{ lib, fetchurl, python3Packages, lzop, postgresql, pv }:
|
{ lib, fetchFromGitHub, python3Packages, lzop, postgresql, pv }:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "wal-e";
|
pname = "wal-e";
|
||||||
@ -6,9 +6,11 @@ python3Packages.buildPythonApplication rec {
|
|||||||
|
|
||||||
namePrefix = "";
|
namePrefix = "";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/wal-e/wal-e/archive/v${version}.tar.gz";
|
owner = "wal-e";
|
||||||
sha256 = "5TTd7NTO73+MCJf3dHIcNojjHdoaKJ1T051iW7Kt9Ow=";
|
repo = "wal-e";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-I6suHkAYzDtlNFNPH4SziY93Ryp+NTHkCBuojDvv+U4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# needs tox
|
# needs tox
|
||||||
@ -27,7 +29,7 @@ python3Packages.buildPythonApplication rec {
|
|||||||
meta = {
|
meta = {
|
||||||
description = "A Postgres WAL-shipping disaster recovery and replication toolkit";
|
description = "A Postgres WAL-shipping disaster recovery and replication toolkit";
|
||||||
homepage = "https://github.com/wal-e/wal-e";
|
homepage = "https://github.com/wal-e/wal-e";
|
||||||
maintainers = [];
|
maintainers = [ ];
|
||||||
license = lib.licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user