Unverified Commit 0164f126 authored by nixpkgs-ci[bot]'s avatar nixpkgs-ci[bot] Committed by GitHub
Browse files

mdserve: 0.5.1 -> 1.0.0 (#490329)

parents bd975a47 94f1abe1
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -9,22 +9,26 @@

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "mdserve";
  version = "0.5.1";
  version = "1.0.0";

  src = fetchFromGitHub {
    owner = "jfernandez";
    repo = "mdserve";
    tag = "v${finalAttrs.version}";
    hash = "sha256-tycFsE/jGh5OYD5ewv12vvOhhlbYtlvANk6BhDW38hw=";
    hash = "sha256-t8eQBzdR5+O5U85HSRj6P7PgE7ubZhY8IkNXsDEpy+w=";
  };

  cargoHash = "sha256-otEa6+IdKHJAT+lPptXgnP5yggTkB3uYfbGhSKTXodo=";
  cargoHash = "sha256-jBTbScyflkvhwfOu4DHkcsfxogjgSGXBAF2euq3lZEo=";

  __darwinAllowLocalNetworking = true;

  nativeInstallCheckInputs = [ versionCheckHook ];

  checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [
  checkFlags = [
    "--skip=app::tests::test_temp_file_rename_triggers_reload_directory_mode"
    "--skip=app::tests::test_temp_file_rename_triggers_reload_single_file_mode"
  ]
  ++ lib.optionals stdenv.hostPlatform.isDarwin [
    # times out on darwin during nixpkgs-review
    "--skip=test_file_modification_updates_via_websocket"
  ];