nixpkgs/pkgs/development/tools/k6/default.nix

26 lines
651 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchFromGitHub }:
2019-03-20 11:42:13 +00:00
buildGoPackage rec {
pname = "k6";
2020-11-13 16:17:17 +00:00
version = "0.29.0";
goPackagePath = "github.com/loadimpact/k6";
src = fetchFromGitHub {
owner = "loadimpact";
2019-03-20 11:42:13 +00:00
repo = pname;
rev = "v${version}";
2020-11-13 16:17:17 +00:00
sha256 = "1zkw7jga8nsqycvrwnqxifbb5la2z4bmxg3l5638i4xlpn58g711";
};
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}";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ offline ];
};
}