nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 27 lines 607 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "richgo"; 9 version = "0.3.12"; 10 11 src = fetchFromGitHub { 12 owner = "kyoh86"; 13 repo = "richgo"; 14 rev = "v${version}"; 15 sha256 = "sha256-pOB1exuwGwSxStodKhLLwh1xBvLjopUn0k+sEARdA9g="; 16 }; 17 18 vendorHash = "sha256-jIzBN5T5+eTFCYOdS5hj3yTGOfU8NTrFmnIu+dDjVeU="; 19 20 meta = with lib; { 21 description = "Enrich `go test` outputs with text decorations"; 22 mainProgram = "richgo"; 23 homepage = "https://github.com/kyoh86/richgo"; 24 license = licenses.mit; 25 maintainers = with maintainers; [ rvolosatovs ]; 26 }; 27}