1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 16:11:58 +00:00
nixpkgs/pkgs/development/tools/ronn/default.nix
2017-01-18 00:52:54 +01:00

30 lines
662 B
Nix

{ stdenv, lib, bundlerEnv, makeWrapper, groff }:
stdenv.mkDerivation rec {
name = "ronn-${version}";
version = env.gems.ronn.version;
env = bundlerEnv rec {
name = "ronn-gems";
gemdir = ./.;
};
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;
};
}