1{
2 fetchCrate,
3 lib,
4 rustPlatform,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "cargo2junit";
9 version = "0.1.13";
10
11 src = fetchCrate {
12 inherit pname version;
13 hash = "sha256-R3a87nXCnGhdeyR7409hFR5Cj3TFUWqaLNOtlXPsvto=";
14 };
15
16 cargoPatches = [
17 ./0001-update-time-rs.patch
18 ];
19
20 cargoHash = "sha256-FPCLy4mIuUeHMuYgYGTs/fn8tUf55LVWBwrrA5hiG2k=";
21
22 meta = with lib; {
23 description = "Converts cargo's json output (from stdin) to JUnit XML (to stdout)";
24 mainProgram = "cargo2junit";
25 homepage = "https://github.com/johnterickson/cargo2junit";
26 license = licenses.mit;
27 maintainers = with maintainers; [ alekseysidorov ];
28 };
29}