figsoda 2023-07-02 22:55:31 -04:00
parent 1caf779f9b
commit 336cfa7585

View File

@ -1,24 +1,32 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, curl, openssl, Security }: { lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
, stdenv
, curl
, Security
}:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-tarpaulin"; pname = "cargo-tarpaulin";
version = "0.26.0"; version = "0.26.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "xd009642"; owner = "xd009642";
repo = "tarpaulin"; repo = "tarpaulin";
rev = version; rev = version;
sha256 = "sha256-xFoqg8Ci60ZW0cUtSJSIIpO9HK+89nSHQhw1YvKy6MI="; hash = "sha256-FQdYos8hnQMkl/3vM9kSj0LM8fIZcsWMLKimpNXnrFo=";
}; };
cargoHash = "sha256-fCoZ1pSKPXvNSWiAfhPygidkM0Ek7DYtHHv/sdPptvM=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
]; ];
buildInputs = [ openssl ] buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ curl Security ]; ++ lib.optionals stdenv.isDarwin [ curl Security ];
cargoHash = "sha256-YLROFEkTEhl6v6AidoEAyTtzDnJEBP6V30gVbxVjKvY=";
doCheck = false; doCheck = false;
meta = with lib; { meta = with lib; {