1 { lib, stdenv, fetchurl, makeWrapper, jdk11, nixosTests }:
3 stdenv.mkDerivation rec {
8 url = "https://downloads.metabase.com/v${version}/metabase.jar";
9 hash = "sha256-1QUrXYpMvn/Gm8ljmF5MYKFRCIQ/v3vpoMJEJcSR2vI=";
12 nativeBuildInputs = [ makeWrapper ];
18 makeWrapper ${jdk11}/bin/java $out/bin/metabase --add-flags "-jar $src"
23 description = "The easy, open source way for everyone in your company to ask questions and learn from data";
24 homepage = "https://metabase.com";
25 sourceProvenance = with sourceTypes; [ binaryBytecode ];
26 license = licenses.agpl3Only;
27 platforms = platforms.all;
28 maintainers = with maintainers; [ schneefux thoughtpolice mmahut ];
29 mainProgram = "metabase";
32 inherit (nixosTests) metabase;