summary refs log blame commit diff
path: root/pkgs/development/tools/k6/default.nix
blob: b8071bf1ac26e9f0d25465ff2d09f2e6d835b273 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                            


                     




                                             
                 
                        
                                                                    










                                                                        
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "k6";
  version = "0.24.0";

  goPackagePath = "github.com/loadimpact/k6";

  src = fetchFromGitHub {
    owner = "loadimpact";
    repo = pname;
    rev = "v${version}";
    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 ];
  };
}