Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "gotest"; 5 version = "0.0.6"; 6 7 src = fetchFromGitHub { 8 owner = "rakyll"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "1v11ccrjghq7nsz0f91r17di14yixsw28vs0m3dwzwqkh1a20img"; 12 }; 13 14 vendorSha256 = "sha256-pVq6H1HoKqCMRfJg7FftRf3vh+BWZQe6cQAX+TBzKqw="; 15 16 subPackages = [ "." ]; 17 18 meta = with lib; { 19 description = "go test with colors"; 20 homepage = "https://github.com/rakyll/gotest"; 21 license = licenses.bsd3; 22 maintainers = with maintainers; [ SuperSandro2000 ]; 23 }; 24}