mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
Merge pull request #149137 from bryanasdev000/pkg-k6
k6: 0.31.1 -> 0.35.0
This commit is contained in:
commit
3e8481916c
@ -1,25 +1,31 @@
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "k6";
|
||||
version = "0.31.1";
|
||||
|
||||
goPackagePath = "github.com/loadimpact/k6";
|
||||
version = "0.35.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "loadimpact";
|
||||
owner = "grafana";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-wngOG0uSNoUU+88oShDpCgPpzuevzJxcwzSzWS3PzAw=";
|
||||
sha256 = "sha256-mSVU/0OdlEfGWxO6Gn/Ji7k2pMO5jWTfxFujN08bZjU=";
|
||||
};
|
||||
|
||||
subPackages = [ "./" ];
|
||||
|
||||
vendorSha256 = null;
|
||||
|
||||
doCheck = true;
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
$out/bin/k6 version | grep ${version} > /dev/null
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A modern load testing tool, using Go and JavaScript";
|
||||
homepage = "https://k6.io/";
|
||||
changelog = "https://github.com/loadimpact/k6/releases/tag/v${version}";
|
||||
changelog = "https://github.com/grafana/k6/releases/tag/v${version}";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [ offline ];
|
||||
maintainers = with maintainers; [ offline bryanasdev000 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user