diff --git a/pkgs/development/tools/rufo/Gemfile b/pkgs/development/tools/rufo/Gemfile new file mode 100644 index 000000000000..5db4a68b13ca --- /dev/null +++ b/pkgs/development/tools/rufo/Gemfile @@ -0,0 +1,3 @@ +source 'https://rubygems.org' + +gem 'rufo' diff --git a/pkgs/development/tools/rufo/Gemfile.lock b/pkgs/development/tools/rufo/Gemfile.lock new file mode 100644 index 000000000000..f63ff520e687 --- /dev/null +++ b/pkgs/development/tools/rufo/Gemfile.lock @@ -0,0 +1,13 @@ +GEM + remote: https://rubygems.org/ + specs: + rufo (0.12.0) + +PLATFORMS + ruby + +DEPENDENCIES + rufo + +BUNDLED WITH + 2.1.4 diff --git a/pkgs/development/tools/rufo/default.nix b/pkgs/development/tools/rufo/default.nix new file mode 100644 index 000000000000..d64173700e77 --- /dev/null +++ b/pkgs/development/tools/rufo/default.nix @@ -0,0 +1,16 @@ +{ bundlerApp, bundlerUpdateScript, lib }: + +bundlerApp { + pname = "rufo"; + gemdir = ./.; + exes = [ "rufo" ]; + + passthru.updateScript = bundlerUpdateScript "rufo"; + + meta = with lib; { + description = "Ruby formatter"; + homepage = "https://github.com/ruby-formatter/rufo"; + license = licenses.mit; + maintainers = with maintainers; [ andersk ]; + }; +} diff --git a/pkgs/development/tools/rufo/gemset.nix b/pkgs/development/tools/rufo/gemset.nix new file mode 100644 index 000000000000..cd5c2c462a98 --- /dev/null +++ b/pkgs/development/tools/rufo/gemset.nix @@ -0,0 +1,12 @@ +{ + rufo = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0nwasskcm0nrf7f52019x4fvxa5zckj4fcvf4cdl0qflrcwb1l9f"; + type = "gem"; + }; + version = "0.12.0"; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9534a53d612b..884efc6bede8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11568,6 +11568,8 @@ in rr = callPackage ../development/tools/analysis/rr { }; rr-unstable = callPackage ../development/tools/analysis/rr/unstable.nix { }; # This is a temporary attribute, please see the corresponding file for details. + rufo = callPackage ../development/tools/rufo { }; + samurai = callPackage ../development/tools/build-managers/samurai { }; saleae-logic = callPackage ../development/tools/misc/saleae-logic { };