201dd87507
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mydumper/versions. These checks were done: - built on NixOS - ran ‘/nix/store/agcvkgqnz979a024p7brjgrz8cgagsh0-mydumper-0.9.5/bin/mydumper --help’ got 0 exit code - ran ‘/nix/store/agcvkgqnz979a024p7brjgrz8cgagsh0-mydumper-0.9.5/bin/myloader --help’ got 0 exit code - found 0.9.5 with grep in /nix/store/agcvkgqnz979a024p7brjgrz8cgagsh0-mydumper-0.9.5 - directory tree listing: https://gist.github.com/593eb6f7d15a3b04c925f61d0dc068e7
26 lines
703 B
Nix
26 lines
703 B
Nix
{ stdenv, fetchFromGitHub, cmake, pkgconfig
|
|
, glib, zlib, pcre, mysql, libressl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.9.5";
|
|
name = "mydumper-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "maxbube";
|
|
repo = "mydumper";
|
|
rev = "v${version}";
|
|
sha256 = "0vbz0ri5hm6yzkrcgnaj8px6bf59myr5dbhyy7fd4cv44hr685k6";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
buildInputs = [ glib zlib pcre mysql.connector-c libressl ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = ''High-perfomance MySQL backup tool'';
|
|
homepage = https://github.com/maxbube/mydumper;
|
|
license = licenses.gpl3;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ izorkin ];
|
|
};
|
|
}
|