Loading
+1 −1
Original line number Diff line number Diff line
@@ -3915,7 +3915,7 @@ dependencies = [

[[package]]
name = "typstyle"
version = "0.12.0"
version = "0.12.1"
dependencies = [
 "anyhow",
 "clap",
+2 −23
Original line number Diff line number Diff line
@@ -2,24 +2,19 @@
  lib,
  rustPlatform,
  fetchFromGitHub,
  pkg-config,
  libgit2,
  zlib,
  stdenv,
  darwin,
  nix-update-script,
  versionCheckHook,
}:

rustPlatform.buildRustPackage rec {
  pname = "typstyle";
  version = "0.12.0";
  version = "0.12.1";

  src = fetchFromGitHub {
    owner = "Enter-tainer";
    repo = "typstyle";
    rev = "refs/tags/v${version}";
    hash = "sha256-jrhxOtaawZ2vCiK8BQ9G09HTC5F6cnEK/Ji567xYfXw=";
    hash = "sha256-liGGnaUhi3/d4SxpiG/P1wp89brqUJaLyo9/KJvPf9I=";
  };

  cargoLock = {
@@ -29,22 +24,6 @@ rustPlatform.buildRustPackage rec {
    };
  };

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs =
    [
      libgit2
      zlib
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      darwin.apple_sdk.frameworks.CoreFoundation
      darwin.apple_sdk.frameworks.CoreServices
      darwin.apple_sdk.frameworks.Security
      darwin.apple_sdk.frameworks.SystemConfiguration
    ];

  # Disabling tests requiring network access
  checkFlags = [
    "--skip=e2e"