Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
k6-studio # k6 Studio
];
}
Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
k6-studio # k6 Studio
];
}
Package Definition
{
"pname": "k6-studio",
"version": "1.4.0",
"src": {
"url": "https://github.com/grafana/k6-studio/releases/download/v1.4.0/k6.Studio-1.4.0-arm64.dmg",
"sha256": "f2df2d55288505b4ba2a9d36fa3f865e35f4e5e1be68d70de9bb5ffad546523a"
},
"installPhase": [
"mkdir -p \"$out/Applications/k6 Studio.app\" && cp -r \"k6 Studio.app\" \"$out/Applications\""
],
"meta": {
"description": "Application for generating k6 test scripts",
"homepage": "https://grafana.com/docs/k6-studio"
}
}