liquibase: init at 3.4.2
This commit is contained in:
parent
aa670eb503
commit
54d93ab15a
32
pkgs/development/tools/database/liquibase/default.nix
Normal file
32
pkgs/development/tools/database/liquibase/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ stdenv, fetchurl, jre, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "liquibase";
|
||||
version = "3.4.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/liquibase/liquibase/releases/download/${pname}-parent-${version}/${name}-bin.tar.gz";
|
||||
sha256 = "1kvxqjz8jmqpmb1clhp2asxmgfk6ynqjir8fldc321v9a5wnqby5";
|
||||
};
|
||||
|
||||
buildInputs = [ jre makeWrapper ];
|
||||
|
||||
unpackPhase = ''
|
||||
tar xfz ${src}
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/{bin,lib,sdk}
|
||||
mv ./* $out/
|
||||
wrapProgram $out/liquibase --prefix PATH ":" ${jre}/bin --set LIQUIBASE_HOME $out;
|
||||
ln -s $out/liquibase $out/bin/liquibase
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Version Control for your database";
|
||||
homepage = "http://www.liquibase.org/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ nequissimus ];
|
||||
};
|
||||
}
|
|
@ -4464,6 +4464,8 @@ in
|
|||
|
||||
lessc = callPackage ../development/compilers/lessc { };
|
||||
|
||||
liquibase = callPackage ../development/tools/database/liquibase { };
|
||||
|
||||
llvm = llvmPackages.llvm;
|
||||
|
||||
llvm_38 = llvmPackages_38.llvm;
|
||||
|
|
Loading…
Reference in a new issue