automysqlbackup: update and switch to fork

last release on sourceforge is from 10 years ago and the test fails now
This commit is contained in:
ajs124 2021-08-07 13:17:44 +02:00
parent 9aad425904
commit 5d1b3c9159

View File

@ -1,16 +1,16 @@
{ lib, stdenv, fetchurl, makeWrapper, mariadb, mailutils, pbzip2, pigz, bzip2, gzip }:
{ lib, stdenv, fetchFromGitHub, makeWrapper, mariadb, mailutils, pbzip2, pigz, bzip2, gzip }:
stdenv.mkDerivation rec {
pname = "automysqlbackup";
version = "3.0_rc6";
version = "3.0.6";
src = fetchurl {
url = "mirror://sourceforge/automysqlbackup/AutoMySQLBackup/AutoMySQLBackup%20VER%203.0/automysqlbackup-v${version}.tar.gz";
sha256 = "1h1wq86q6my1a682nr8pjagjhai4lxz967m17lhpw1vb116hd7l8";
src = fetchFromGitHub {
owner = "sixhop";
repo = pname;
rev = version;
sha256 = "0lki2049npc38r8m08garymywp1rzgflm0mxsfdznn9jfp4pk2lp";
};
sourceRoot = ".";
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A script to run daily, weekly and monthly backups for your MySQL database";
homepage = "https://sourceforge.net/projects/automysqlbackup/";
homepage = "https://github.com/sixhop/AutoMySQLBackup";
platforms = platforms.linux;
maintainers = [ maintainers.aanderse ];
license = licenses.gpl2Plus;