2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "k6";
|
2020-11-15 13:44:38 +00:00
|
|
|
version = "0.29.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/loadimpact/k6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "loadimpact";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-11-15 13:44:38 +00:00
|
|
|
sha256 = "1zkw7jga8nsqycvrwnqxifbb5la2z4bmxg3l5638i4xlpn58g711";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
subPackages = [ "./" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A modern load testing tool, using Go and JavaScript";
|
2020-05-29 06:06:01 +00:00
|
|
|
homepage = "https://k6.io/";
|
|
|
|
changelog = "https://github.com/loadimpact/k6/releases/tag/v${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.agpl3Plus;
|
|
|
|
maintainers = with maintainers; [ offline ];
|
|
|
|
};
|
|
|
|
}
|