0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

typstyle: 0.11.34 -> 0.11.35 (#347042)

* typstyle: 0.11.34 -> 0.11.35

Diff: https://github.com/Enter-tainer/typstyle/compare/refs/tags/v0.11.34...v0.11.35

Changelog: https://github.com/Enter-tainer/typstyle/blob/refs/tags/v0.11.35/CHANGELOG.md

* typstyle: format
This commit is contained in:
Gaétan Lepage 2024-10-07 11:02:40 +02:00 committed by GitHub
parent 41dd374aa4
commit c072d363f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,51 +1,58 @@
{ lib {
, rustPlatform lib,
, fetchFromGitHub rustPlatform,
, pkg-config fetchFromGitHub,
, libgit2 pkg-config,
, zlib libgit2,
, stdenv zlib,
, darwin stdenv,
, nix-update-script darwin,
, testers nix-update-script,
, typstyle versionCheckHook,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "typstyle"; pname = "typstyle";
version = "0.11.34"; version = "0.11.35";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Enter-tainer"; owner = "Enter-tainer";
repo = "typstyle"; repo = "typstyle";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-6z2jzs5PxsEsCPSm9+sZnBdzh0edLMylaLBvSSPoPNo="; hash = "sha256-mPppnbgTXJ4ALIHrI0q9UpwGPDoTGitw5KRY8eA/vJg=";
}; };
cargoHash = "sha256-MaqsAQvh30nDzoxgnFKu7+wvRZ7WvwLgKYM3Fru8qfg="; cargoHash = "sha256-30xinYXS+OGYE1H0Eutwpjgn3OfFtjTUJInDHvn6/E0=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
]; ];
buildInputs = [ buildInputs =
libgit2 [
zlib libgit2
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ zlib
darwin.apple_sdk.frameworks.CoreFoundation ]
darwin.apple_sdk.frameworks.CoreServices ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security darwin.apple_sdk.frameworks.CoreFoundation
darwin.apple_sdk.frameworks.SystemConfiguration darwin.apple_sdk.frameworks.CoreServices
]; darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
# Disabling tests requiring network access # Disabling tests requiring network access
checkFlags = [ checkFlags = [
"--skip=e2e" "--skip=e2e"
]; ];
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
doInstallCheck = true;
passthru = { passthru = {
updateScript = nix-update-script { }; updateScript = nix-update-script { };
tests.version = testers.testVersion { package = typstyle; };
}; };
meta = { meta = {