diff options
author | Julien Debon <julien.debon@tweag.io> | 2022-04-26 09:54:02 +0200 |
---|---|---|
committer | Julien Debon <julien.debon@tweag.io> | 2022-04-26 09:54:02 +0200 |
commit | a7c93695a5254a0d9fa73c6f9e7628791a9c31a9 (patch) | |
tree | 86b8359a27b8a023b0c6da5be2f35371bc44bf97 | |
parent | e5b0ba7750d1883f4db96ec80b808a49ac4480a2 (diff) |
liquibase_redshift_extension: init at 4.8.0
-rw-r--r-- | pkgs/development/java-modules/liquibase_redshift_extension/default.nix | 27 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/java-modules/liquibase_redshift_extension/default.nix b/pkgs/development/java-modules/liquibase_redshift_extension/default.nix new file mode 100644 index 0000000000000..ba15086ae0ab5 --- /dev/null +++ b/pkgs/development/java-modules/liquibase_redshift_extension/default.nix @@ -0,0 +1,27 @@ +{ lib, stdenv, fetchMavenArtifact }: + +stdenv.mkDerivation rec { + pname = "liquibase-redshift-extension"; + version = "4.8.0"; + + src = fetchMavenArtifact { + artifactId = "liquibase-redshift"; + groupId = "org.liquibase.ext"; + sha256 = "sha256-jZdDKAC4Cvmkih8VH84Z3Q8BzsqGO55Uefr8vOlbDAk="; + inherit version; + }; + + installPhase = '' + runHook preInstall + install -m444 -D $src/share/java/liquibase-redshift-${version}.jar $out/share/java/liquibase-redshift.jar + runHook postInstall + ''; + + meta = with lib; { + homepage = "https://github.com/liquibase/liquibase-redshift/"; + description = "Amazon Redshift extension for Liquibase"; + license = licenses.asl20; + platforms = platforms.unix; + maintainers = with maintainers; [ sir4ur0n ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 03196d54ceca6..b0c4907e3e23e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22283,6 +22283,8 @@ with pkgs; redshift_jdbc = callPackage ../development/java-modules/redshift_jdbc { }; + liquibase_redshift_extension = callPackage ../development/java-modules/liquibase_redshift_extension { }; + prom2json = callPackage ../servers/monitoring/prometheus/prom2json.nix { }; prometheus = callPackage ../servers/monitoring/prometheus { }; prometheus-alertmanager = callPackage ../servers/monitoring/prometheus/alertmanager.nix { }; |