Merge pull request #14067 from zimbatm/foreman-0.78.0
foreman: init at 0.78.0
This commit is contained in:
commit
61c3ad7d2b
3
pkgs/tools/system/foreman/Gemfile
Normal file
3
pkgs/tools/system/foreman/Gemfile
Normal file
@ -0,0 +1,3 @@
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "foreman"
|
15
pkgs/tools/system/foreman/Gemfile.lock
Normal file
15
pkgs/tools/system/foreman/Gemfile.lock
Normal 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
|
30
pkgs/tools/system/foreman/default.nix
Normal file
30
pkgs/tools/system/foreman/default.nix
Normal 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;
|
||||
};
|
||||
}
|
18
pkgs/tools/system/foreman/gemset.nix
Normal file
18
pkgs/tools/system/foreman/gemset.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user