mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
25 lines
640 B
Nix
25 lines
640 B
Nix
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "k6";
|
|
version = "0.31.1";
|
|
|
|
goPackagePath = "github.com/loadimpact/k6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "loadimpact";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-wngOG0uSNoUU+88oShDpCgPpzuevzJxcwzSzWS3PzAw=";
|
|
};
|
|
|
|
subPackages = [ "./" ];
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|