Unverified Commit 2afe10b9 authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

versatiles: 0.14.5 -> 0.15.2 (#388512)

parents e435bc5d b4c52c66
Loading
Loading
Loading
Loading
+14 −10
Original line number Diff line number Diff line
@@ -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 = {