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