gaugePlugins.screenshot: init at 0.2.0
This commit is contained in:
parent
891a6eaf3a
commit
2303a0b69d
@ -9,4 +9,5 @@ in {
|
||||
js = callPackage ./js { };
|
||||
ruby = callPackage ./ruby { };
|
||||
go = callPackage ./go { };
|
||||
screenshot = callPackage ./screenshot { };
|
||||
})
|
||||
|
19
pkgs/development/tools/gauge/plugins/screenshot/data.json
Normal file
19
pkgs/development/tools/gauge/plugins/screenshot/data.json
Normal 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="
|
||||
}
|
||||
}
|
19
pkgs/development/tools/gauge/plugins/screenshot/default.nix
Normal file
19
pkgs/development/tools/gauge/plugins/screenshot/default.nix
Normal 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" ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user