nixpkgs/pkgs/development/tools/k6/default.nix
2020-05-24 20:13:51 +03:00

25 lines
651 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "k6";
version = "0.26.2";
goPackagePath = "github.com/loadimpact/k6";
src = fetchFromGitHub {
owner = "loadimpact";
repo = pname;
rev = "v${version}";
sha256 = "0s5haycpfnfyvxxhhm7205gzylsbjndx9f134f245p4xm5bxhxbf";
};
subPackages = [ "./" ];
meta = with stdenv.lib; {
description = "A modern load testing tool, using Go and JavaScript";
homepage = "https://k6.io/";
changelog = "https://github.com/loadimpact/k6/releases/tag/v${version}";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ offline ];
};
}