Merge pull request #14067 from zimbatm/foreman-0.78.0

foreman: init at 0.78.0
This commit is contained in:
zimbatm 2016-03-22 23:26:44 +00:00
commit 61c3ad7d2b
5 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,3 @@
source "https://rubygems.org"
gem "foreman"

View File

@ -0,0 +1,15 @@
GEM
remote: https://rubygems.org/
specs:
foreman (0.78.0)
thor (~> 0.19.1)
thor (0.19.1)
PLATFORMS
ruby
DEPENDENCIES
foreman
BUNDLED WITH
1.11.2

View File

@ -0,0 +1,30 @@
{ stdenv, lib, ruby, bundlerEnv, makeWrapper }:
stdenv.mkDerivation rec {
name = "foreman-${env.gems.foreman.version}";
env = bundlerEnv {
inherit ruby;
name = "${name}-gems";
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
};
phases = ["installPhase"];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
makeWrapper ${env}/bin/foreman $out/bin/foreman
'';
meta = with lib; {
description = "Process manager for applications with multiple components";
homepage = https://github.com/ddollar/foreman;
license = licenses.mit;
maintainers = with maintainers; [ zimbatm ];
platforms = ruby.meta.platforms;
};
}

View File

@ -0,0 +1,18 @@
{
thor = {
version = "0.19.1";
source = {
type = "gem";
remotes = ["https://rubygems.org"];
sha256 = "08p5gx18yrbnwc6xc0mxvsfaxzgy2y9i78xq7ds0qmdm67q39y4z";
};
};
foreman = {
version = "0.78.0";
source = {
type = "gem";
remotes = ["https://rubygems.org"];
sha256 = "1caz8mi7gq1hs4l1flcyyw1iw1bdvdbhppsvy12akr01k3s17xaq";
};
};
}

View File

@ -5999,6 +5999,8 @@ let
findbugs = callPackage ../development/tools/analysis/findbugs { };
foreman = callPackage ../tools/system/foreman { };
flow = callPackage ../development/tools/analysis/flow {
inherit (darwin.apple_sdk.frameworks) CoreServices;
inherit (darwin) cf-private;