jsduck: init version
This commit is contained in:
parent
77847756f3
commit
82aa52f01d
@ -334,6 +334,7 @@
|
||||
palo = "Ingolf Wanger <palipalo9@googlemail.com>";
|
||||
pashev = "Igor Pashev <pashev.igor@gmail.com>";
|
||||
pawelpacana = "Paweł Pacana <pawel.pacana@gmail.com>";
|
||||
periklis = "theopompos@gmail.com";
|
||||
pesterhazy = "Paulus Esterhazy <pesterhazy@gmail.com>";
|
||||
peterhoeg = "Peter Hoeg <peter@hoeg.com>";
|
||||
peti = "Peter Simons <simons@cryp.to>";
|
||||
|
3
pkgs/development/tools/jsduck/Gemfile
Normal file
3
pkgs/development/tools/jsduck/Gemfile
Normal file
@ -0,0 +1,3 @@
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "jsduck"
|
23
pkgs/development/tools/jsduck/Gemfile.lock
Normal file
23
pkgs/development/tools/jsduck/Gemfile.lock
Normal file
@ -0,0 +1,23 @@
|
||||
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.3)
|
||||
parallel (0.7.1)
|
||||
rdiscount (2.1.8)
|
||||
rkelly-remix (0.0.7)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
jsduck
|
||||
|
||||
BUNDLED WITH
|
||||
1.13.6
|
31
pkgs/development/tools/jsduck/default.nix
Normal file
31
pkgs/development/tools/jsduck/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, lib, bundlerEnv, makeWrapper, }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jsduck";
|
||||
name = "${pname}-${version}";
|
||||
version = "5.3.4";
|
||||
|
||||
env = bundlerEnv {
|
||||
name = "${pname}";
|
||||
gemfile = ./Gemfile;
|
||||
lockfile = ./Gemfile.lock;
|
||||
gemset = ./gemset.nix;
|
||||
};
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
buildInputs = [ env makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${env}/bin/jsduck $out/bin/jsduck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple JavaScript Duckumentation generator.";
|
||||
homepage = https://github.com/senchalabs/jsduck;
|
||||
license = with licenses; gpl3;
|
||||
maintainers = with stdenv.lib.maintainers; [ periklis ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
51
pkgs/development/tools/jsduck/gemset.nix
Normal file
51
pkgs/development/tools/jsduck/gemset.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{
|
||||
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 = "1nsby6ry8l9xg3yw4adlhk2pnc7i0h0rznvcss4vk3v74qg0k8lc";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.8.3";
|
||||
};
|
||||
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";
|
||||
};
|
||||
}
|
@ -2285,6 +2285,8 @@ in
|
||||
|
||||
jscoverage = callPackage ../development/tools/misc/jscoverage { };
|
||||
|
||||
jsduck = callPackage ../development/tools/jsduck { };
|
||||
|
||||
jwhois = callPackage ../tools/networking/jwhois { };
|
||||
|
||||
k2pdfopt = callPackage ../applications/misc/k2pdfopt { };
|
||||
|
Loading…
Reference in New Issue
Block a user