forked from mirrors/nixpkgs
schemaspy: Init at 6.0.0-rc2
This commit is contained in:
parent
265f4c58a1
commit
06c7c05cc2
43
pkgs/development/tools/database/schemaspy/default.nix
Normal file
43
pkgs/development/tools/database/schemaspy/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ lib, stdenv, fetchurl, jre, makeWrapper, graphviz }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "6.0.0-rc2";
|
||||
name = "schemaspy-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/schemaspy/schemaspy/releases/download/v${version}/${name}.jar";
|
||||
sha256 = "0ph1l62hy163m2hgybhkccqbcj6brna1vdbr7536zc37lzjxq9rn";
|
||||
};
|
||||
|
||||
unpackPhase = "true";
|
||||
|
||||
buildInputs = [
|
||||
jre
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildPhase = "true";
|
||||
|
||||
wrappedPath = lib.makeBinPath [
|
||||
graphviz
|
||||
];
|
||||
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p "$out/share/java"
|
||||
cp ${src} "$out/share/java/${name}.jar"
|
||||
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${jre}/bin/java $out/bin/schemaspy \
|
||||
--add-flags "-jar $out/share/java/${name}.jar" \
|
||||
--prefix PATH : "$wrappedPath"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://schemaspy.org";
|
||||
description = "Document your database simply and easily";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jraygauthier ];
|
||||
};
|
||||
}
|
||||
|
|
@ -7597,6 +7597,8 @@ with pkgs;
|
|||
|
||||
shellcheck = haskell.lib.justStaticExecutables haskellPackages.ShellCheck;
|
||||
|
||||
schemaspy = callPackage ../development/tools/database/schemaspy { };
|
||||
|
||||
shncpd = callPackage ../tools/networking/shncpd { };
|
||||
|
||||
sigrok-cli = callPackage ../development/tools/sigrok-cli { };
|
||||
|
|
Loading…
Reference in a new issue