9 stdenv.mkDerivation rec {
15 url = "http://search.maven.org/remotecontent?filepath=org/python/jython-standalone/${version}/jython-standalone-${version}.jar";
16 sha256 = "sha256-H7oXae/8yLGfXhBDa8gnShWM6YhVnyV5J8JMc7sTfzw=";
19 nativeBuildInputs = [ makeWrapper ];
25 cp $src $out/jython.jar
26 makeWrapper ${jre}/bin/java $out/bin/jython --add-flags "-jar $out/jython.jar"
30 description = "Python interpreter written in Java";
31 mainProgram = "jython";
32 homepage = "https://jython.org/";
33 sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
34 license = lib.licenses.psfl;
35 platforms = jre.meta.platforms;