7 stdenvNoCC.mkDerivation (finalAttrs: {
12 url = "https://github.com/fordfrog/apgdiff/raw/release_${finalAttrs.version}/releases/apgdiff-${finalAttrs.version}.jar";
13 sha256 = "sha256-6OempDmedl6LOwP/s5y0hOIxGDWHd7qM7/opW3UwQ+I=";
16 nativeBuildInputs = [ makeWrapper ];
19 install -Dm644 $src $out/lib/apgdiff.jar
22 makeWrapper ${jre}/bin/java $out/bin/apgdiff \
24 --add-flags "-jar $out/lib/apgdiff.jar"
28 description = "Another PostgreSQL diff tool";
29 homepage = "https://apgdiff.com";
30 license = licenses.mit;
31 inherit (jre.meta) platforms;
32 sourceProvenance = [ sourceTypes.binaryBytecode ];
33 maintainers = [ maintainers.misterio77 ];