uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
42
pkgs/development/tools/database/schemaspy/default.nix
Normal file
42
pkgs/development/tools/database/schemaspy/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib, stdenv, fetchurl, jre, makeWrapper, graphviz }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "6.1.0";
|
||||
pname = "schemaspy";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/schemaspy/schemaspy/releases/download/v${version}/${pname}-${version}.jar";
|
||||
sha256 = "0lgz6b17hx9857fb2l03ggz8y3n8a37vrcsylif0gmkwj1v4qgl7";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
buildInputs = [
|
||||
jre
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
wrappedPath = lib.makeBinPath [
|
||||
graphviz
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -D ${src} "$out/share/java/${pname}-${version}.jar"
|
||||
|
||||
makeWrapper ${jre}/bin/java $out/bin/schemaspy \
|
||||
--add-flags "-jar $out/share/java/${pname}-${version}.jar" \
|
||||
--prefix PATH : "$wrappedPath"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://schemaspy.org";
|
||||
description = "Document your database simply and easily";
|
||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jraygauthier ];
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue