mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
932c1f7650
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/metabase/versions. These checks were done: - built on NixOS - Warning: no invocation of /nix/store/b7bpmc5h45cq2afcmrrsw2w60im3420w-metabase-0.29.3/bin/metabase had a zero exit code or showed the expected version - 0 of 1 passed binary check by having a zero exit code. - 0 of 1 passed binary check by having the new version present in output. - directory tree listing: https://gist.github.com/986f43a4bd9effc51da98989246f0267 - du listing: https://gist.github.com/cec3ac2b5a9a0226fbb8653fbe98ce5e
28 lines
771 B
Nix
28 lines
771 B
Nix
{ stdenv, fetchurl, makeWrapper, jre }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "metabase-${version}";
|
|
version = "0.29.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://downloads.metabase.com/v${version}/metabase.jar";
|
|
sha256 = "18yvjxlgdbg7h7ipj1wlic5m0gv5s2943c72shs44jvic6g42pzv";
|
|
};
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
unpackPhase = "true";
|
|
|
|
installPhase = ''
|
|
makeWrapper ${jre}/bin/java $out/bin/metabase --add-flags "-jar $src"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "The easy, open source way for everyone in your company to ask questions and learn from data.";
|
|
homepage = https://metabase.com;
|
|
license = licenses.agpl3;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ schneefux thoughtpolice ];
|
|
};
|
|
}
|