summary refs log tree commit diff
diff options
context:
space:
mode:
authorRyan Lahfa <masterancpp@gmail.com>2022-12-28 09:05:01 +0100
committerGitHub <noreply@github.com>2022-12-28 09:05:01 +0100
commit90ee9b0b1a9064ce218da20d69498d3e0ed83c42 (patch)
treed34f4f57a1d1617337edc34bd1747c19ed3e1fe0
parent3c9246399df09f25a0891fffa235a0d4d6ae8074 (diff)
parent62f1c406b75cacab042f059d29adad9ba5f82b28 (diff)
downloadnixpkgs-90ee9b0b1a9064ce218da20d69498d3e0ed83c42.tar
nixpkgs-90ee9b0b1a9064ce218da20d69498d3e0ed83c42.tar.gz
nixpkgs-90ee9b0b1a9064ce218da20d69498d3e0ed83c42.tar.bz2
nixpkgs-90ee9b0b1a9064ce218da20d69498d3e0ed83c42.tar.lz
nixpkgs-90ee9b0b1a9064ce218da20d69498d3e0ed83c42.tar.xz
nixpkgs-90ee9b0b1a9064ce218da20d69498d3e0ed83c42.tar.zst
nixpkgs-90ee9b0b1a9064ce218da20d69498d3e0ed83c42.zip
Merge pull request #170754 from alekseysidorov/cargo2junit
cargo2junit: init at 0.1.12
-rw-r--r--maintainers/maintainer-list.nix6
-rw-r--r--pkgs/development/tools/rust/cargo2junit/default.nix20
-rw-r--r--pkgs/top-level/all-packages.nix2
3 files changed, 28 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index 82872597a8b..8891e9861f8 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -558,6 +558,12 @@
     githubId = 43479487;
     name = "Titouan Biteau";
   };
+  alekseysidorov = {
+    email = "sauron1987@gmail.com";
+    github = "alekseysidorov";
+    githubId = 83360;
+    name = "Aleksey Sidorov";
+  };
   alerque = {
     email = "caleb@alerque.com";
     github = "alerque";
diff --git a/pkgs/development/tools/rust/cargo2junit/default.nix b/pkgs/development/tools/rust/cargo2junit/default.nix
new file mode 100644
index 00000000000..17427e336c0
--- /dev/null
+++ b/pkgs/development/tools/rust/cargo2junit/default.nix
@@ -0,0 +1,20 @@
+{ fetchCrate, lib, rustPlatform }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "cargo2junit";
+  version = "0.1.12";
+
+  src = fetchCrate {
+    inherit pname version;
+    sha256 = "sha256-wF1vDUVEume6aWzI5smTNlwc9WyZeTtUX416tYYrZPU=";
+  };
+
+  cargoSha256 = "sha256-GUCHWV+uPHZwhU4UhdXE2GHpeVnqbUTpfivA9Nh9MoY=";
+
+  meta = with lib; {
+    description = "Converts cargo's json output (from stdin) to JUnit XML (to stdout).";
+    homepage = "https://github.com/johnterickson/cargo2junit";
+    license = licenses.mit;
+    maintainers = with maintainers; [ alekseysidorov ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index b81d61fd6f6..0ed5d0aa985 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -15297,6 +15297,8 @@ with pkgs;
   buildRustCrate = callPackage ../build-support/rust/build-rust-crate { };
   buildRustCrateHelpers = callPackage ../build-support/rust/build-rust-crate/helpers.nix { };
 
+  cargo2junit = callPackage ../development/tools/rust/cargo2junit { };
+
   cargo-espflash = callPackage ../development/tools/rust/cargo-espflash {
     inherit (darwin.apple_sdk.frameworks) Security;
   };