Unverified Commit 5e657faf authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #235087 from figsoda/paste

rustypaste: 0.9.1 -> 0.10.0
parents f07ba9c5 2db499c0
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -2,16 +2,16 @@

rustPlatform.buildRustPackage rec {
  pname = "rustypaste";
  version = "0.9.1";
  version = "0.10.0";

  src = fetchFromGitHub {
    owner = "orhun";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-e7GZlR3P0Jk8JNIHvEi1EWlyw6o+MeYNG+2uDKgo9Z8=";
    sha256 = "sha256-qzSrxkq63SFcP/sQeORqG9+c+ct/n29jdIFUL9jut0w=";
  };

  cargoHash = "sha256-QFRZyJFZNg/IqEBAuBPE+hzKV4A6TVVU5Knhsgz279E=";
  cargoHash = "sha256-EDnc3P4sIpUyCDSozvaVeWI3y2KWDXKVcnkZ7M3Xx4w=";

  buildInputs = lib.optionals stdenv.isDarwin [
    darwin.apple_sdk.frameworks.CoreServices
@@ -19,10 +19,10 @@ rustPlatform.buildRustPackage rec {

  # Some tests need network
  checkFlags = [
    "--skip paste::tests::test_paste_data"
    "--skip server::tests::test_upload_file"
    "--skip server::tests::test_upload_remote_file"
    "--skip util::tests::test_get_expired_files"
    "--skip=paste::tests::test_paste_data"
    "--skip=server::tests::test_upload_file"
    "--skip=server::tests::test_upload_remote_file"
    "--skip=util::tests::test_get_expired_files"
  ];

  meta = with lib; {