{ lib, pkgconfig, rustPlatform, fetchFromGitHub, openssl }: rustPlatform.buildRustPackage rec { pname = "cargo-tarpaulin"; version = "0.15.0"; src = fetchFromGitHub { owner = "xd009642"; repo = "tarpaulin"; rev = version; sha256 = "0ga2zfq4365hxvr3wd3isc146ibivy3bfcy24rb6cq3av3b90a8k"; }; nativeBuildInputs = [ pkgconfig ]; buildInputs = [ openssl ]; cargoSha256 = "1ij1bic95315kba7k7igix33kmwr2va0c2hbysjs0bl5kcnai4f7"; #checkFlags = [ "--test-threads" "1" ]; doCheck = false; meta = with lib; { description = "A code coverage tool for Rust projects"; homepage = "https://github.com/xd009642/tarpaulin"; license = with licenses; [ mit /* or */ asl20 ]; maintainers = with maintainers; [ hugoreeves ]; platforms = [ "x86_64-linux" ]; }; }