1 { stdenv, lib, bundlerEnv, makeWrapper, bundlerUpdateScript }:
3 stdenv.mkDerivation rec {
5 version = (import ./gemset.nix).jsduck.version;
10 lockfile = ./Gemfile.lock;
11 gemset = ./gemset.nix;
16 nativeBuildInputs = [ makeWrapper ];
17 buildInputs = [ env ];
21 makeWrapper ${env}/bin/jsduck $out/bin/jsduck
24 passthru.updateScript = bundlerUpdateScript "jsduck";
27 description = "Simple JavaScript Duckumentation generator";
28 mainProgram = "jsduck";
29 homepage = "https://github.com/senchalabs/jsduck";
30 license = with licenses; gpl3;
31 maintainers = with maintainers; [ periklis nicknovitski ];
32 platforms = platforms.unix;