ronn: init at 0.7.3
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user