8 , ensureNewerSourcesHook
11 maven.buildMavenPackage rec {
13 version = "6.1.1-SNAPSHOT";
15 src = fetchFromGitHub {
18 rev = "110b1614f9ae4aec0e4dc4e8f0e7c647274d3af6";
19 hash = "sha256-X5B34zGhD/NxcK8TQvwdk1NljGJ1HwfBp47ocbE4HiU=";
22 mvnParameters = "-Dmaven.test.skip=true";
25 # the build system gets angry if it doesn't see git (even though it's not
26 # actually in a git repository)
31 mvnHash = "sha256-1x6cNt6t3FnjRNg8iNYflkyDnuPFXGKoxhVJWoz2jIU=";
37 # springframework boot gets angry about 1970 sources
38 # fix from https://github.com/nix-community/mavenix/issues/25
39 (ensureNewerSourcesHook { year = "1980"; })
42 wrappedPath = lib.makeBinPath [
52 install -D target/${pname}-${version}.jar $out/share/java/${pname}-${version}.jar
54 makeWrapper ${jre}/bin/java $out/bin/schemaspy \
55 --add-flags "-jar $out/share/java/${pname}-${version}.jar" \
56 --prefix PATH : "$wrappedPath"
60 homepage = "https://schemaspy.org";
61 description = "Document your database simply and easily";
62 license = licenses.lgpl3Plus;
63 maintainers = with maintainers; [ jraygauthier ];