about summary refs log tree commit diff
path: root/pkgs/servers/metabase
diff options
context:
space:
mode:
authorR. RyanTM <ryantm-bot@ryantm.com>2022-02-17 14:11:09 -0800
committerGitHub <noreply@github.com>2022-02-17 23:11:09 +0100
commit9679d2730727fcc3832edf982d0a067419a12e95 (patch)
treeab7710881826ae3d2a57f454b49be6b13eb39acf /pkgs/servers/metabase
parent02c13610e9fc8044bd556f84675f1f9b6d937db8 (diff)
metabase: 0.41.5 -> 0.42.1
* metabase: 0.41.5 -> 0.42.0 (#159518)

* metabase: 0.42.0 -> 0.42.1
and use SPDX3 license identifier

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
Diffstat (limited to 'pkgs/servers/metabase')
-rw-r--r--pkgs/servers/metabase/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/servers/metabase/default.nix b/pkgs/servers/metabase/default.nix
index 990ef950e6bd3..814626fec1257 100644
--- a/pkgs/servers/metabase/default.nix
+++ b/pkgs/servers/metabase/default.nix
@@ -2,11 +2,11 @@
 
 stdenv.mkDerivation rec {
   pname = "metabase";
-  version = "0.41.5";
+  version = "0.42.1";
 
   src = fetchurl {
     url = "https://downloads.metabase.com/v${version}/metabase.jar";
-    sha256 = "sha256-DH1xy1cTVDNNXyOIaayGHzOi4g0ZukNFFbZjufY+XLk=";
+    hash = "sha256-PmcVVAS/5mDhmOSoFvkZeYkbvFD/KOcgVYuScwD4Olg=";
   };
 
   nativeBuildInputs = [ makeWrapper ];
@@ -14,13 +14,15 @@ stdenv.mkDerivation rec {
   dontUnpack = true;
 
   installPhase = ''
+    runHook preInstall
     makeWrapper ${jdk11}/bin/java $out/bin/metabase --add-flags "-jar $src"
+    runHook postInstall
   '';
 
   meta = with 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;
+    license     = licenses.agpl3Only;
     platforms   = platforms.all;
     maintainers = with maintainers; [ schneefux thoughtpolice mmahut ];
   };