gotestdox: init at 0.2.2

This commit is contained in:
eljamm 2024-10-24 17:39:28 +01:00
parent 2aa5b5d837
commit d5083f0888
No known key found for this signature in database
GPG Key ID: 7630FDF7C8FB1F3F

View File

@ -0,0 +1,35 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "gotestdox";
version = "0.2.2";
src = fetchFromGitHub {
owner = "bitfield";
repo = "gotestdox";
rev = "v${version}";
hash = "sha256-AZDXMwADOjcaMiofMWoHp+eSnD3a8iFtwpWDKl9Ess8=";
};
vendorHash = "sha256-kDSZ4RZTHDFmu7ernYRjg0PV7eBB2lH8q5wW3kTExDs=";
ldflags = [
"-s"
"-w"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Tool for formatting Go test results as readable documentation";
homepage = "https://github.com/bitfield/gotestdox";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ eljamm ];
mainProgram = "gotestdox";
};
}