Files
quantenzitrone 6cbb84b95d tparse: refactor
this shouldn't create any rebuilds
2026-02-07 09:49:09 +01:00

34 lines
731 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule (finalAttrs: {
pname = "tparse";
version = "0.18.0";
src = fetchFromGitHub {
owner = "mfridman";
repo = "tparse";
rev = "v${finalAttrs.version}";
hash = "sha256-oJApKmdo8uvnm6npXpzcKBRRkZ901AH1kZqGuoLdB3U=";
};
vendorHash = "sha256-4W6RryyQByUcwM2P2jmG2wXjNMrnpcCTSOJiw1M/Kd0=";
ldflags = [
"-s"
"-w"
"-X main.version=${finalAttrs.version}"
];
meta = {
description = "CLI tool for summarizing go test output. Pipe friendly. CI/CD friendly";
mainProgram = "tparse";
homepage = "https://github.com/mfridman/tparse";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ obreitwi ];
};
})