mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-17 02:58:28 +00:00
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 {
|
||||
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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user