1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/servers/metabase/default.nix
R. RyanTM 932c1f7650 metabase: 0.29.2 -> 0.29.3
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
2018-05-21 09:00:10 +00:00

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 ];
};
}