Gaetan Lepage 2024-11-03 09:56:51 +01:00
parent d0d0a08358
commit ae530a24a1
2 changed files with 3 additions and 24 deletions

View File

@ -3915,7 +3915,7 @@ dependencies = [
[[package]]
name = "typstyle"
version = "0.12.0"
version = "0.12.1"
dependencies = [
"anyhow",
"clap",

View File

@ -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"