sheldon: 0.6.6 -> 0.7.3

This commit is contained in:
Marcin Puc 2023-07-06 14:16:58 +02:00
parent d89ca0ec1e
commit 225b64d40c

View file

@ -1,6 +1,6 @@
{ lib { lib
, stdenv , stdenv
, fetchCrate , fetchFromGitHub
, rustPlatform , rustPlatform
, pkg-config , pkg-config
, openssl , openssl
@ -11,37 +11,43 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "sheldon"; pname = "sheldon";
version = "0.6.6"; version = "0.7.3";
src = fetchCrate { src = fetchFromGitHub {
inherit pname version; owner = "rossmacarthur";
sha256 = "sha256-NjNBTjSaFoh+DAJfcM4G3+Meih1czLxs/RMmMwrXqD4="; repo = pname;
rev = version;
hash = "sha256-vGFR8NL3bOCUuNr0KQuAbjQMxvFbN/T9aVmf7Wxt9JU=";
}; };
cargoSha256 = "sha256-uRcaHuDLQm6OYqt01kLbW/mfZnL4HaDabaweaw1EOfs="; cargoSha256 = "sha256-wVB+yL+h90f7NnASDaX5gxT5z45M8I1rxIJwY8uyB4k=";
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security curl ]; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security curl ];
nativeBuildInputs = [ installShellFiles pkg-config ]; nativeBuildInputs = [ installShellFiles pkg-config ];
# Needs network connection # Needs network connection
checkFlags = [ checkFlags = [
"--skip cli::tests::raw_opt_help" "--skip lock::plugin::tests::external_plugin_lock_git_with_matches"
"--skip lock::tests::external_plugin_lock_git_with_matches" "--skip lock::plugin::tests::external_plugin_lock_git_with_matches_not_each"
"--skip lock::tests::external_plugin_lock_git_with_matches_error" "--skip lock::plugin::tests::external_plugin_lock_git_with_uses"
"--skip lock::tests::external_plugin_lock_git_with_matches_not_each" "--skip lock::plugin::tests::external_plugin_lock_remote"
"--skip lock::tests::external_plugin_lock_git_with_uses" "--skip lock::source::git::tests::git_checkout_resolve_branch"
"--skip lock::tests::external_plugin_lock_remote" "--skip lock::source::git::tests::git_checkout_resolve_rev"
"--skip lock::tests::git_checkout_resolve_branch" "--skip lock::source::git::tests::git_checkout_resolve_tag"
"--skip lock::tests::git_checkout_resolve_rev" "--skip lock::source::git::tests::lock_git_and_reinstall"
"--skip lock::tests::git_checkout_resolve_tag" "--skip lock::source::git::tests::lock_git_https_with_checkout"
"--skip lock::source::local::tests::lock_local"
"--skip lock::source::remote::tests::lock_remote_and_reinstall"
"--skip lock::source::tests::lock_with_git"
"--skip lock::source::tests::lock_with_remote"
"--skip lock::tests::locked_config_clean" "--skip lock::tests::locked_config_clean"
"--skip lock::tests::source_lock_git_and_reinstall" "--skip directories_default"
"--skip lock::tests::source_lock_git_git_with_checkout" "--skip directories_old"
"--skip lock::tests::source_lock_git_https_with_checkout" "--skip directories_xdg_from_env"
"--skip lock::tests::source_lock_local" "--skip lock_and_source_github"
"--skip lock::tests::source_lock_remote_and_reinstall" "--skip lock_and_source_hooks"
"--skip lock::tests::source_lock_with_git" "--skip lock_and_source_inline"
"--skip lock::tests::source_lock_with_remote" "--skip lock_and_source_profiles"
]; ];
postInstall = '' postInstall = ''