Skip to content

Commit

Permalink
xcpretty: init at 0.3.0 (#48494)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicknovitski authored and zimbatm committed Nov 28, 2018
1 parent 8ef639a commit f2c07cd
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/development/ruby-modules/bundler-app/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
, buildInputs ? []
, postBuild ? ""
, gemConfig ? null
, passthru ? {}
}@args:

let
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/tools/xcpretty/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'xcpretty'
15 changes: 15 additions & 0 deletions pkgs/development/tools/xcpretty/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
GEM
remote: https://rubygems.org/
specs:
rouge (2.0.7)
xcpretty (0.3.0)
rouge (~> 2.0.7)

PLATFORMS
ruby

DEPENDENCIES
xcpretty

BUNDLED WITH
1.16.4
27 changes: 27 additions & 0 deletions pkgs/development/tools/xcpretty/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,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
];
};
}
19 changes: 19 additions & 0 deletions pkgs/development/tools/xcpretty/gemset.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
rouge = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0sfikq1q8xyqqx690iiz7ybhzx87am4w50w8f2nq36l3asw4x89d";
type = "gem";
};
version = "2.0.7";
};
xcpretty = {
dependencies = ["rouge"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1xq47q2h5llj7b54rws4796904vnnjz7qqnacdv7wlp3gdbwrivm";
type = "gem";
};
version = "0.3.0";
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9077,6 +9077,8 @@ with pkgs;
deps = [ xcbuild ];
} ../development/tools/xcbuild/setup-hook.sh ;

xcpretty = callPackage ../development/tools/xcpretty { };

xmlindent = callPackage ../development/web/xmlindent {};

xpwn = callPackage ../development/mobile/xpwn {};
Expand Down

0 comments on commit f2c07cd

Please sign in to comment.