about summary refs log tree commit diff
path: root/pkgs/tools/system/procodile/default.nix
blob: 5414d670423201dd6dda1b6735ab11aeaa3f0b5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, bundlerEnv, ruby }:

bundlerEnv rec {
  name = "procodile-${version}";

  gemfile = ./Gemfile;
  lockfile = ./Gemfile.lock;
  gemset = ./gemset.nix;

  version = (import gemset).procodile.version;
  inherit ruby;

  gemdir = ./.;

  meta = with lib; {
    description = "Run processes in the background (and foreground) on Mac & Linux from a Procfile (for production and/or development environments)";
    homepage    = https://adam.ac/procodile;
    license     = with licenses; mit;
    maintainers = [ maintainers.ravloony ];
    platforms   = platforms.unix;
  };
}