Unverified Commit 209b5b57 authored by Anthony Roussel's avatar Anthony Roussel
Browse files

h2: add passthru.updateScript

parent a132640b
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
{ lib, maven, fetchFromGitHub, jre, makeWrapper }:
{ lib, maven, fetchFromGitHub, jre, makeWrapper, nix-update-script }:

maven.buildMavenPackage rec {
  pname = "h2";
@@ -29,6 +29,9 @@ maven.buildMavenPackage rec {
    cp -r h2/src/docsrc/* $doc/share/doc/h2
  '';

  passthru.updateScript = nix-update-script {
    extraArgs = [ "--version-regex" "^version-([0-9.]+)$" ];
  };

  meta = with lib; {
    description = "The Java SQL database";