about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/continuous-integration/buildkite-test-collector-rust/default.nix
blob: 7f1e6c55f5fac1470b216651b63b8951f3aa6d5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, fetchFromGitHub
, rustPlatform
, stdenv
, Security
}:

rustPlatform.buildRustPackage rec {
  pname = "buildkite-test-collector-rust";
  version = "0.1.0";

  src = fetchFromGitHub {
    owner = "buildkite";
    repo = "test-collector-rust";
    rev = "v${version}";
    sha256 = "sha256-rY/+AwxO0+xcnRj0A8TRhCUJQ0ecosybI6It1mDOdQM=";
  };

  buildInputs = lib.optionals stdenv.isDarwin [
    Security
  ];

  cargoSha256 = "sha256-qfJ0ROi0S0mmPl6kKrW3dp3VLjYqK+sBVj+iKDNTjyM=";

  meta = with lib; {
    description = "Rust adapter for Buildkite Test Analytics";
    homepage = "https://buildkite.com/test-analytics";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ jfroche ];
  };
}