Unverified Commit 57fe540d authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

jsduck: drop (#467342)

parents ddead32b a1661cd1
Loading
Loading
Loading
Loading

pkgs/by-name/js/jsduck/Gemfile

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
source "https://rubygems.org"

gem "jsduck"
+0 −23
Original line number Diff line number Diff line
GEM
  remote: https://rubygems.org/
  specs:
    dimensions (1.2.0)
    jsduck (5.3.4)
      dimensions (~> 1.2.0)
      json (~> 1.8.0)
      parallel (~> 0.7.1)
      rdiscount (~> 2.1.6)
      rkelly-remix (~> 0.0.4)
    json (1.8.6)
    parallel (0.7.1)
    rdiscount (2.1.8)
    rkelly-remix (0.0.7)

PLATFORMS
  ruby

DEPENDENCIES
  jsduck

BUNDLED WITH
   2.1.4

pkgs/by-name/js/jsduck/gemset.nix

deleted100644 → 0
+0 −57
Original line number Diff line number Diff line
{
  dimensions = {
    source = {
      remotes = [ "https://rubygems.org" ];
      sha256 = "1pqb7yzjcpbgbyi196ifqbd1wy570cn12bkzcvpcha4xilhajja0";
      type = "gem";
    };
    version = "1.2.0";
  };
  jsduck = {
    dependencies = [
      "dimensions"
      "json"
      "parallel"
      "rdiscount"
      "rkelly-remix"
    ];
    source = {
      remotes = [ "https://rubygems.org" ];
      sha256 = "0hac7g9g6gg10bigbm8dskwwbv1dfch8ca353gh2bkwf244qq2xr";
      type = "gem";
    };
    version = "5.3.4";
  };
  json = {
    source = {
      remotes = [ "https://rubygems.org" ];
      sha256 = "0qmj7fypgb9vag723w1a49qihxrcf5shzars106ynw2zk352gbv5";
      type = "gem";
    };
    version = "1.8.6";
  };
  parallel = {
    source = {
      remotes = [ "https://rubygems.org" ];
      sha256 = "1kzz6ydg7r23ks2b7zbpx4vz3h186n19vhgnjcwi7xwd6h2f1fsq";
      type = "gem";
    };
    version = "0.7.1";
  };
  rdiscount = {
    source = {
      remotes = [ "https://rubygems.org" ];
      sha256 = "0vcyy90r6wfg0b0y5wqp3d25bdyqjbwjhkm1xy9jkz9a7j72n70v";
      type = "gem";
    };
    version = "2.1.8";
  };
  rkelly-remix = {
    source = {
      remotes = [ "https://rubygems.org" ];
      sha256 = "1g7hjl9nx7f953y7lncmfgp0xgxfxvgfm367q6da9niik6rp1y3j";
      type = "gem";
    };
    version = "0.0.7";
  };
}
+0 −46
Original line number Diff line number Diff line
{
  stdenv,
  lib,
  bundlerEnv,
  makeWrapper,
  bundlerUpdateScript,
}:
let
  rubyEnv = bundlerEnv {
    name = "jsduck";
    gemfile = ./Gemfile;
    lockfile = ./Gemfile.lock;
    gemset = ./gemset.nix;
  };
in
stdenv.mkDerivation {
  pname = "jsduck";
  version = (import ./gemset.nix).jsduck.version;

  dontUnpack = true;

  nativeBuildInputs = [ makeWrapper ];
  buildInputs = [ rubyEnv ];

  installPhase = ''
    mkdir -p $out/bin
    makeWrapper ${rubyEnv}/bin/jsduck $out/bin/jsduck
  '';

  passthru.updateScript = bundlerUpdateScript "jsduck";

  meta = with lib; {
    description = "Simple JavaScript Duckumentation generator";
    mainProgram = "jsduck";
    homepage = "https://github.com/senchalabs/jsduck";
    license = with licenses; gpl3;
    maintainers = with maintainers; [
      periklis
      nicknovitski
    ];
    platforms = platforms.unix;
    # rdiscount fails to compile with:
    # mktags.c:44:1: error: return type defaults to ‘int’ [-Wimplicit-int]
    broken = true;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -762,6 +762,7 @@ mapAliases {
  jing = jing-trang; # Added 2025-09-18
  joplin = joplin-cli; # Added 2025-11-03
  jscoverage = throw "jscoverage has been removed, as it was broken"; # Added 2025-08-25
  jsduck = throw "jsduck has been removed, as it was broken and and unmaintained upstream."; # Added 2025-12-02
  julia_19 = throw "Julia 1.9 has reached its end of life and 'julia_19' has been removed. Please use a supported version."; # Added 2025-10-29
  julia_19-bin = throw "Julia 1.9 has reached its end of life and 'julia_19-bin' has been removed. Please use a supported version."; # Added 2025-10-29
  k2pdfopt = throw "'k2pdfopt' has been removed from nixpkgs as it was broken"; # Added 2025-09-27