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

25 lines
572 B
Nix
Raw Normal View History

{ stdenv, buildGoPackage, fetchFromGitHub }:
2019-03-20 12:42:13 +01:00
buildGoPackage rec {
pname = "k6";
version = "0.24.0";
goPackagePath = "github.com/loadimpact/k6";
src = fetchFromGitHub {
owner = "loadimpact";
2019-03-20 12:42:13 +01:00
repo = pname;
rev = "v${version}";
2019-03-20 12:42:13 +01:00
sha256 = "1riyyi4lxdaqilzzkxzzw3hzcrjjcylq2jh3p3656f99wiisvj28";
};
subPackages = [ "./" ];
meta = with stdenv.lib; {
homepage = https://k6.io/;
description = "A modern load testing tool, using Go and JavaScript";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ offline ];
};
}