nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildGoModule,
3 lib,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "hey";
9 version = "0.1.4";
10
11 src = fetchFromGitHub {
12 owner = "rakyll";
13 repo = "hey";
14 rev = "v${version}";
15 sha256 = "0gsdksrzlwpba14a43ayyy41l1hxpw4ayjpvqyd4ycakddlkvgzb";
16 };
17
18 vendorHash = null;
19
20 meta = {
21 description = "HTTP load generator, ApacheBench (ab) replacement";
22 homepage = "https://github.com/rakyll/hey";
23 license = lib.licenses.asl20;
24 mainProgram = "hey";
25 };
26}