2019-02-16 12:20:34 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
2019-03-20 11:42:13 +00:00
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "k6";
|
2020-09-25 11:51:27 +01:00
|
|
|
version = "0.28.0";
|
2019-02-16 12:20:34 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/loadimpact/k6";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "loadimpact";
|
2019-03-20 11:42:13 +00:00
|
|
|
repo = pname;
|
2019-02-16 12:20:34 +00:00
|
|
|
rev = "v${version}";
|
2020-09-25 11:51:27 +01:00
|
|
|
sha256 = "0zpkavl6sg6kcb7wc92lzi4svvv3284xs20zbmgq4i9i5z1njdkx";
|
2019-02-16 12:20:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
subPackages = [ "./" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A modern load testing tool, using Go and JavaScript";
|
2020-05-24 18:06:23 +01:00
|
|
|
homepage = "https://k6.io/";
|
|
|
|
changelog = "https://github.com/loadimpact/k6/releases/tag/v${version}";
|
2019-02-16 12:20:34 +00:00
|
|
|
license = licenses.agpl3Plus;
|
|
|
|
maintainers = with maintainers; [ offline ];
|
|
|
|
};
|
|
|
|
}
|