gaugePlugins.screenshot: init at 0.2.0

This commit is contained in:
Marie Ramlow 2024-03-15 13:04:25 +01:00 committed by Yaya
parent 891a6eaf3a
commit 2303a0b69d
3 changed files with 39 additions and 0 deletions

View File

@ -9,4 +9,5 @@ in {
js = callPackage ./js { };
ruby = callPackage ./ruby { };
go = callPackage ./go { };
screenshot = callPackage ./screenshot { };
})

View File

@ -0,0 +1,19 @@
{
"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="
}
}

View File

@ -0,0 +1,19 @@
{ 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" ];
};
}