2024-09-26 11:04:55 +00:00
|
|
|
{
|
|
|
|
fetchCrate,
|
|
|
|
lib,
|
|
|
|
rustPlatform,
|
|
|
|
}:
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo2junit";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "0.1.13";
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-R3a87nXCnGhdeyR7409hFR5Cj3TFUWqaLNOtlXPsvto=";
|
2022-12-28 21:21:41 +00:00
|
|
|
};
|
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
cargoPatches = [
|
|
|
|
./0001-update-time-rs.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
cargoHash = "sha256-ncRELlbT8Dy8huLgZrroRWohCLeN5cRjMWrIW4JNcCM=";
|
2022-12-28 21:21:41 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Converts cargo's json output (from stdin) to JUnit XML (to stdout)";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "cargo2junit";
|
2022-12-28 21:21:41 +00:00
|
|
|
homepage = "https://github.com/johnterickson/cargo2junit";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ alekseysidorov ];
|
|
|
|
};
|
|
|
|
}
|