9 stdenvNoCC.mkDerivation rec {
13 src = fetchFromGitHub {
17 sha256 = "sha256-mF8+Fm1vwLUw5l2PqV+vFFlr6y2JpKBwc+J3PdKQ6Fo=";
20 nativeBuildInputs = [ makeWrapper ];
28 install -D bbin $out/bin/bbin
30 cp -r docs $out/share/docs
31 wrapProgram $out/bin/bbin \
32 --prefix PATH : "${lib.makeBinPath [ babashka-unwrapped babashka-unwrapped.graalvmDrv ]}"
38 updateScript = gitUpdater { rev-prefix = "v"; };
42 homepage = "https://github.com/babashka/bbin";
43 description = "Install any Babashka script or project with one command";
45 license = licenses.mit;
46 inherit (babashka-unwrapped.meta) platforms;
47 maintainers = with maintainers; [ sohalt ];