diff options
author | zimbatm <zimbatm@zimbatm.com> | 2016-06-30 10:12:24 +0100 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2016-06-30 11:09:06 +0100 |
commit | 7298dd8cca8f575586fc7026b388f3928abeeb56 (patch) | |
tree | 42aecb5115f1ef024a07eb2fafd53131039bdac1 /pkgs/development/tools | |
parent | 85781f9bb63e5e85fdd6f55b39583cd5984e270c (diff) | |
download | nixlib-7298dd8cca8f575586fc7026b388f3928abeeb56.tar nixlib-7298dd8cca8f575586fc7026b388f3928abeeb56.tar.gz nixlib-7298dd8cca8f575586fc7026b388f3928abeeb56.tar.bz2 nixlib-7298dd8cca8f575586fc7026b388f3928abeeb56.tar.lz nixlib-7298dd8cca8f575586fc7026b388f3928abeeb56.tar.xz nixlib-7298dd8cca8f575586fc7026b388f3928abeeb56.tar.zst nixlib-7298dd8cca8f575586fc7026b388f3928abeeb56.zip |
ronn: init at 0.7.3
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/ronn/Gemfile | 3 | ||||
-rw-r--r-- | pkgs/development/tools/ronn/Gemfile.lock | 19 | ||||
-rw-r--r-- | pkgs/development/tools/ronn/default.nix | 31 | ||||
-rw-r--r-- | pkgs/development/tools/ronn/gemset.nix | 34 |
4 files changed, 87 insertions, 0 deletions
diff --git a/pkgs/development/tools/ronn/Gemfile b/pkgs/development/tools/ronn/Gemfile new file mode 100644 index 000000000000..64f1df743abc --- /dev/null +++ b/pkgs/development/tools/ronn/Gemfile @@ -0,0 +1,3 @@ +source "https://rubygems.org" + +gem "ronn" diff --git a/pkgs/development/tools/ronn/Gemfile.lock b/pkgs/development/tools/ronn/Gemfile.lock new file mode 100644 index 000000000000..c2b90f634948 --- /dev/null +++ b/pkgs/development/tools/ronn/Gemfile.lock @@ -0,0 +1,19 @@ +GEM + remote: https://rubygems.org/ + specs: + hpricot (0.8.6) + mustache (1.0.3) + rdiscount (2.2.0.1) + ronn (0.7.3) + hpricot (>= 0.8.2) + mustache (>= 0.7.0) + rdiscount (>= 1.5.8) + +PLATFORMS + ruby + +DEPENDENCIES + ronn + +BUNDLED WITH + 1.11.2 diff --git a/pkgs/development/tools/ronn/default.nix b/pkgs/development/tools/ronn/default.nix new file mode 100644 index 000000000000..7720c4f2bf2b --- /dev/null +++ b/pkgs/development/tools/ronn/default.nix @@ -0,0 +1,31 @@ +{ stdenv, lib, bundlerEnv, makeWrapper, groff }: + +stdenv.mkDerivation rec { + name = "ronn-${version}"; + version = env.gems.ronn.version; + + env = bundlerEnv rec { + name = "ronn-gems"; + gemfile = ./Gemfile; + lockfile = ./Gemfile.lock; + gemset = ./gemset.nix; + }; + + phases = ["installPhase"]; + + buildInputs = [ makeWrapper ]; + + installPhase = '' + mkdir -p $out/bin + makeWrapper ${env}/bin/ronn $out/bin/ronn \ + --set PATH ${groff}/bin + ''; + + meta = with lib; { + description = "markdown-based tool for building manpages"; + homepage = https://rtomayko.github.io/ronn/; + license = licenses.mit; + maintainers = with maintainers; [ zimbatm ]; + platforms = env.ruby.meta.platforms; + }; +} diff --git a/pkgs/development/tools/ronn/gemset.nix b/pkgs/development/tools/ronn/gemset.nix new file mode 100644 index 000000000000..ce804e1f9f5b --- /dev/null +++ b/pkgs/development/tools/ronn/gemset.nix @@ -0,0 +1,34 @@ +{ + hpricot = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1jn8x9ch79gqmnzgyz78kppavjh5lqx0y0r6frykga2b86rz9s6z"; + type = "gem"; + }; + version = "0.8.6"; + }; + mustache = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1v4pdvgvs8gw0zbh5sy3l308amlsjg8sdfrkml0g0m0wwj4x7naf"; + type = "gem"; + }; + version = "1.0.3"; + }; + rdiscount = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1arvk3k06prxasq1djbj065ixar4zl171340g7wr1ww4gj9makx3"; + type = "gem"; + }; + version = "2.2.0.1"; + }; + ronn = { + source = { + remotes = ["https://rubygems.org"]; + sha256 = "07plsxxfx5bxdk72ii9za6km0ziqlq8jh3bicr4774dalga6zpw2"; + type = "gem"; + }; + version = "0.7.3"; + }; +} \ No newline at end of file |