about summary refs log tree commit diff
path: root/pkgs/development/tools/xcpretty/default.nix
blob: 99af752086f622809713416a492d6570da1b67e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, bundlerApp, bundler, bundix }:

bundlerApp {
  pname = "xcpretty";
  gemdir = ./.;

  exes = [ "xcpretty" ];

  passthru = {
    updateScript = ''
      set -e
      echo
      cd ${toString ./.}
      ${bundler}/bin/bundle lock --update
      ${bundix}/bin/bundix
    '';
  };

  meta = with lib; {
    description     = "Flexible and fast xcodebuild formatter";
    homepage        = https://github.com/supermarin/xcpretty;
    license         = licenses.mit;
    maintainers     = with maintainers; [
      nicknovitski
    ];
  };
}