mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
26 lines
651 B
Nix
26 lines
651 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "k6";
|
|
version = "0.28.0";
|
|
|
|
goPackagePath = "github.com/loadimpact/k6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "loadimpact";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0zpkavl6sg6kcb7wc92lzi4svvv3284xs20zbmgq4i9i5z1njdkx";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|