depot/third_party/nixpkgs/pkgs/development/tools/k6/default.nix

26 lines
640 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "k6";
version = "0.30.0";
goPackagePath = "github.com/loadimpact/k6";
src = fetchFromGitHub {
owner = "loadimpact";
repo = pname;
rev = "v${version}";
sha256 = "sha256-eUvkW6IBmUp4/zYNlQKrNrxMszdzU8v6tCc2o4DN1As=";
};
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 ];
};
}