Commit 2303a0b6 authored by Marie Ramlow's avatar Marie Ramlow Committed by Yaya
Browse files

gaugePlugins.screenshot: init at 0.2.0

parent 891a6eaf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9,4 +9,5 @@ in {
  js = callPackage ./js { };
  ruby = callPackage ./ruby { };
  go = callPackage ./go { };
  screenshot = callPackage ./screenshot { };
})
+19 −0
Original line number Diff line number Diff line
{
  "version": "0.2.0",
  "x86_64-darwin": {
    "url": "https://github.com/getgauge/gauge_screenshot/releases/download/v0.2.0/screenshot-0.2.0-darwin.x86_64.zip",
    "hash": "sha256-7bFuInEYAQ+fN12HTazQNfqpz5DAkYNCjUJbaj0DYb4="
  },
  "aarch64-darwin": {
    "url": "https://github.com/getgauge/gauge_screenshot/releases/download/v0.2.0/screenshot-0.2.0-darwin.arm64.zip",
    "hash": "sha256-Ly6iHBc2PfeFkKkZIkyD2JD5+EpFNL4SDjzG1oMpKfA="
  },
  "aarch64-linux": {
    "url": "https://github.com/getgauge/gauge_screenshot/releases/download/v0.2.0/screenshot-0.2.0-linux.arm64.zip",
    "hash": "sha256-Pzfnhs4H0MmeBIhrZElFmvC+PuabLNU/pftVdIu4+LI="
  },
  "x86_64-linux": {
    "url": "https://github.com/getgauge/gauge_screenshot/releases/download/v0.2.0/screenshot-0.2.0-linux.x86_64.zip",
    "hash": "sha256-Wpuq3aSgbIhd4WuJx4SMv+NbEZMVIpAOUMdKV2xxd7c="
  }
}
+19 −0
Original line number Diff line number Diff line
{ lib
, makeGaugePlugin
}:
makeGaugePlugin {
  pname = "screenshot";
  data = lib.importJSON ./data.json;

  repo = "getgauge/gauge_screenshot";
  releasePrefix = "screenshot-";

  meta = {
    description = "Gauge plugin to take screenshots";
    homepage = "https://github.com/getgauge/gauge_screenshot/";
    license = lib.licenses.gpl3;
    maintainers = with lib.maintainers; [ marie ];
    sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
    platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
  };
}