mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
ronn: init at 0.7.3
This commit is contained in:
parent
85781f9bb6
commit
7298dd8cca
3
pkgs/development/tools/ronn/Gemfile
Normal file
3
pkgs/development/tools/ronn/Gemfile
Normal file
@ -0,0 +1,3 @@
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "ronn"
|
19
pkgs/development/tools/ronn/Gemfile.lock
Normal file
19
pkgs/development/tools/ronn/Gemfile.lock
Normal file
@ -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
|
31
pkgs/development/tools/ronn/default.nix
Normal file
31
pkgs/development/tools/ronn/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
34
pkgs/development/tools/ronn/gemset.nix
Normal file
34
pkgs/development/tools/ronn/gemset.nix
Normal file
@ -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";
|
||||
};
|
||||
}
|
@ -9037,6 +9037,8 @@ in
|
||||
|
||||
rote = callPackage ../development/libraries/rote { };
|
||||
|
||||
ronn = callPackage ../development/tools/ronn { };
|
||||
|
||||
rubberband = callPackage ../development/libraries/rubberband {
|
||||
inherit (vamp) vampSDK;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user