2019-02-16 12:20:34 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
2019-03-20 11:42:13 +00:00
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "k6";
|
|
|
|
version = "0.24.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}";
|
2019-03-20 11:42:13 +00:00
|
|
|
sha256 = "1riyyi4lxdaqilzzkxzzw3hzcrjjcylq2jh3p3656f99wiisvj28";
|
2019-02-16 12:20:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
subPackages = [ "./" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://k6.io/";
|
2019-02-16 12:20:34 +00:00
|
|
|
description = "A modern load testing tool, using Go and JavaScript";
|
|
|
|
license = licenses.agpl3Plus;
|
|
|
|
maintainers = with maintainers; [ offline ];
|
|
|
|
};
|
|
|
|
}
|