versatiles: 0.14.5 -> 0.15.2

This commit is contained in:
emaryn
2025-03-11 20:13:00 +00:00
parent 81fd4c649b
commit b4c52c66d8
+14 -10
View File
@@ -6,17 +6,19 @@
rustPlatform.buildRustPackage rec {
pname = "versatiles";
version = "0.14.5"; # When updating: Replace with current version
version = "0.15.2"; # When updating: Replace with current version
src = fetchFromGitHub {
owner = "versatiles-org";
repo = "versatiles-rs";
tag = "v${version}"; # When updating: Replace with long commit hash of new version
hash = "sha256-ejMqTMGLbVr/Aaqw8U0ojV43N6t0GeWdYIcP0guAsO0="; # When updating: Use `lib.fakeHash` for recomputing the hash once. Run: 'nix-build -A versatiles'. Swap with new hash and proceed.
hash = "sha256-RByNQMPx0vR7D50OiFjVSsq1G4cYvggzezUzUk/52pQ="; # When updating: Use `lib.fakeHash` for recomputing the hash once. Run: 'nix-build -A versatiles'. Swap with new hash and proceed.
};
useFetchCargoVendor = true;
cargoHash = "sha256-ZvkuA/6TQc5CsBvjQHlVb2AFA60q6Wa5mrfxjh49uYE="; # When updating: Same as above
cargoHash = "sha256-NjGX60unMPWyPggitYUux1+x3EvrFq6gvNbZu7H88Yo="; # When updating: Same as above
__darwinAllowLocalNetworking = true;
# Testing only necessary for the `bins` and `lib` features
cargoTestFlags = [
@@ -26,13 +28,15 @@ rustPlatform.buildRustPackage rec {
# Skip tests that require network access
checkFlags = [
"--skip tools::convert::tests::test_remote1"
"--skip tools::convert::tests::test_remote2"
"--skip tools::probe::tests::test_remote"
"--skip tools::serve::tests::test_remote"
"--skip utils::io::data_reader_http"
"--skip utils::io::data_reader_http::tests::read_range_git"
"--skip utils::io::data_reader_http::tests::read_range_googleapis"
"--skip=tools::convert::tests::test_remote1"
"--skip=tools::convert::tests::test_remote2"
"--skip=tools::probe::tests::test_remote"
"--skip=tools::serve::tests::test_remote"
"--skip=utils::io::data_reader_http"
"--skip=utils::io::data_reader_http::tests::read_range_git"
"--skip=utils::io::data_reader_http::tests::read_range_googleapis"
"--skip=io::data_reader_http::tests::read_range_git"
"--skip=io::data_reader_http::tests::read_range_googleapis"
];
meta = {