Unverified Commit 17856971 authored by Will Fancher's avatar Will Fancher Committed by GitHub
Browse files

sendme: 0.27.0 -> 0.30.0 (#457418)

parents 2e5037e0 414a3231
Loading
Loading
Loading
Loading
+5 −11
Original line number Diff line number Diff line
@@ -6,25 +6,19 @@

rustPlatform.buildRustPackage rec {
  pname = "sendme";
  version = "0.27.0";
  version = "0.30.0";

  src = fetchFromGitHub {
    owner = "n0-computer";
    repo = "sendme";
    rev = "v${version}";
    hash = "sha256-A1dZH7qeQTsMaJdB4UejpP/HD5tE07gCHFv2Mb1ZXWY=";
    hash = "sha256-LcSQuvNXSHqaiBE6GR3rNALAYPc9Xezf5cV8Im9qYMo=";
  };

  cargoHash = "sha256-Iwm1VGxIBfuT3nXk5Si9gpDFJRjHBOc3nfE8DFvI5YE=";
  cargoHash = "sha256-/hgkMWEokcOh3ebZ2pIunktJmuq0YpI6IixO7XoNRCk=";

  __darwinAllowLocalNetworking = true;

  # On Darwin, sendme invokes CoreFoundation APIs that read ICU data from the
  # system. Ensure these paths are accessible in the sandbox to avoid segfaults
  # during checkPhase.
  sandboxProfile = ''
    (allow file-read* (subpath "/usr/share/icu"))
  '';
  # The tests require contacting external servers.
  doCheck = false;

  meta = with lib; {
    description = "Tool to send files and directories, based on iroh";