diff options
author | Marie Ramlow <me@nycode.dev> | 2024-03-12 10:36:34 +0100 |
---|---|---|
committer | Yaya <github@uwu.is> | 2024-04-24 09:22:38 +0200 |
commit | d327c365e09f274db610c0bb9a75d93db3fc8c34 (patch) | |
tree | e0737dec7fe7f262165331bb909608fb251ad330 /pkgs/development/tools/gauge | |
parent | 1fc7d281e7a9c370468157f03d44f2b40752c648 (diff) |
gaugePlugins.ruby: init at 0.8.0
Diffstat (limited to 'pkgs/development/tools/gauge')
-rw-r--r-- | pkgs/development/tools/gauge/plugins/default.nix | 1 | ||||
-rw-r--r-- | pkgs/development/tools/gauge/plugins/ruby/data.json | 19 | ||||
-rw-r--r-- | pkgs/development/tools/gauge/plugins/ruby/default.nix | 19 |
3 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/tools/gauge/plugins/default.nix b/pkgs/development/tools/gauge/plugins/default.nix index a54591f089fa5..4c604a54ce873 100644 --- a/pkgs/development/tools/gauge/plugins/default.nix +++ b/pkgs/development/tools/gauge/plugins/default.nix @@ -6,4 +6,5 @@ in { dotnet = callPackage ./dotnet { }; html-report = callPackage ./html-report { }; java = callPackage ./java { }; + ruby = callPackage ./ruby { }; }) diff --git a/pkgs/development/tools/gauge/plugins/ruby/data.json b/pkgs/development/tools/gauge/plugins/ruby/data.json new file mode 100644 index 0000000000000..b7f827cfc5698 --- /dev/null +++ b/pkgs/development/tools/gauge/plugins/ruby/data.json @@ -0,0 +1,19 @@ +{ + "version": "0.8.0", + "aarch64-darwin": { + "url": "https://github.com/getgauge/gauge-ruby/releases/download/v0.8.0/gauge-ruby-0.8.0-darwin.arm64.zip", + "hash": "sha256-HQ7reuC7dQUMbhEzUBiEelPmFBsFJBHe42lmFufkZJY=" + }, + "x86_64-darwin": { + "url": "https://github.com/getgauge/gauge-ruby/releases/download/v0.8.0/gauge-ruby-0.8.0-darwin.x86_64.zip", + "hash": "sha256-poxT9wYgs21GRx/eVvD7jA1T0VBDEHgH0Zv941pZcKA=" + }, + "aarch64-linux": { + "url": "https://github.com/getgauge/gauge-ruby/releases/download/v0.8.0/gauge-ruby-0.8.0-linux.arm64.zip", + "hash": "sha256-SAEHPaWScux6C05jQBfDuLBN2J22Df9eKVM46kWawiU=" + }, + "x86_64-linux": { + "url": "https://github.com/getgauge/gauge-ruby/releases/download/v0.8.0/gauge-ruby-0.8.0-linux.x86_64.zip", + "hash": "sha256-aXLDK/7phdsX0CmIuxfK39mdrjGo2IpwYBL7uolP5Mk=" + } +} diff --git a/pkgs/development/tools/gauge/plugins/ruby/default.nix b/pkgs/development/tools/gauge/plugins/ruby/default.nix new file mode 100644 index 0000000000000..9a5283b649a14 --- /dev/null +++ b/pkgs/development/tools/gauge/plugins/ruby/default.nix @@ -0,0 +1,19 @@ +{ lib +, makeGaugePlugin +}: +makeGaugePlugin { + pname = "ruby"; + data = lib.importJSON ./data.json; + + repo = "getgauge/gauge-ruby"; + releasePrefix = "gauge-ruby-"; + + meta = { + description = "Gauge plugin that lets you write tests in Ruby"; + homepage = "https://github.com/getgauge/gauge-ruby/"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ marie ]; + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; + platforms = [ "aarch64-darwin" "x86_64-darwin" "aarch64-linux" "x86_64-linux" ]; + }; +} |