Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, stdenv, fetchFromGitHub, gradle,}:
stdenv.mkDerivation (finalAttrs: { pname = "rhino"; version = "1.8.0";
src = fetchFromGitHub { owner = "mozilla"; repo = "rhino"; tag = "Rhino1_8_0_Release"; hash = "sha256-H8DbcRPMm4SKmGf40dXnjGeEbbj9COzdHgUIkcCimTM="; };
nativeBuildInputs = [ gradle ];
mitmCache = gradle.fetchDeps { inherit (finalAttrs) pname; data = ./deps.json; };
installPhase = '' mkdir -p "$out/share/java" cp -v rhino-all/build/libs/rhino-all-*.jar "$out/share/java/js-$pkgver.jar" ln -s "js-$pkgver.jar" "$out/share/java/js.jar" '';
meta = with lib; { description = "Implementation of JavaScript written in Java";
longDescription = '' Rhino is an open-source implementation of JavaScript written entirely in Java. It is typically embedded into Java applications to provide scripting to end users. '';
homepage = "https://rhino.github.io/";
license = with licenses; [ mpl11 # or gpl2Plus ]; platforms = platforms.linux ++ platforms.darwin; };})