13 stdenv.mkDerivation rec {
14 pname = "mariadb-galera";
17 src = fetchFromGitHub {
20 rev = "release_${version}";
21 hash = "sha256-R2YQtAuqPkOtcvjS5PPcqAqu153N2+0/WjZt96ZSI1A=";
22 fetchSubmodules = true;
25 nativeBuildInputs = [ cmake ];
35 # make sure bundled asio cannot be used, but leave behind license, because it gets installed
36 rm -r asio/{asio,asio.hpp}
40 # for backwards compatibility
42 ln -s $out/lib/libgalera_smm.so $out/lib/galera/libgalera_smm.so
46 inherit (nixosTests) mariadb-galera;
50 description = "Galera 3 wsrep provider library";
51 mainProgram = "garbd";
52 homepage = "https://galeracluster.com/";
53 license = licenses.lgpl2Only;
54 maintainers = with maintainers; [ izorkin ] ++ teams.helsinki-systems.members;
55 platforms = platforms.all;
56 broken = stdenv.hostPlatform.isDarwin;