summary refs log tree commit diff
path: root/pkgs/development/tools/k6/default.nix
blob: cf3b0414c7a33d0fbba229bfcb081be2d5bea63f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage  rec {
  name = "k6-${version}";
  version = "0.23.1";

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

  src = fetchFromGitHub {
    owner = "loadimpact";
    repo = "k6";
    rev = "v${version}";
    sha256 = "03krrpbb67h9hmrg5m94936kha667yh2lqzp9s7fv0b6khskr9r7";
  };

  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 ];
  };
}