Skip to content

Commit c072d36

Browse files
authored
typstyle: 0.11.34 -> 0.11.35 (#347042)
* typstyle: 0.11.34 -> 0.11.35 Diff: typstyle-rs/typstyle@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
1 parent 41dd374 commit c072d36

File tree

1 file changed

+31
-24
lines changed

1 file changed

+31
-24
lines changed

pkgs/by-name/ty/typstyle/package.nix

Lines changed: 31 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,58 @@
1-
{ lib
2-
, rustPlatform
3-
, fetchFromGitHub
4-
, pkg-config
5-
, libgit2
6-
, zlib
7-
, stdenv
8-
, darwin
9-
, nix-update-script
10-
, testers
11-
, typstyle
1+
{
2+
lib,
3+
rustPlatform,
4+
fetchFromGitHub,
5+
pkg-config,
6+
libgit2,
7+
zlib,
8+
stdenv,
9+
darwin,
10+
nix-update-script,
11+
versionCheckHook,
1212
}:
1313

1414
rustPlatform.buildRustPackage rec {
1515
pname = "typstyle";
16-
version = "0.11.34";
16+
version = "0.11.35";
1717

1818
src = fetchFromGitHub {
1919
owner = "Enter-tainer";
2020
repo = "typstyle";
2121
rev = "refs/tags/v${version}";
22-
hash = "sha256-6z2jzs5PxsEsCPSm9+sZnBdzh0edLMylaLBvSSPoPNo=";
22+
hash = "sha256-mPppnbgTXJ4ALIHrI0q9UpwGPDoTGitw5KRY8eA/vJg=";
2323
};
2424

25-
cargoHash = "sha256-MaqsAQvh30nDzoxgnFKu7+wvRZ7WvwLgKYM3Fru8qfg=";
25+
cargoHash = "sha256-30xinYXS+OGYE1H0Eutwpjgn3OfFtjTUJInDHvn6/E0=";
2626

2727
nativeBuildInputs = [
2828
pkg-config
2929
];
3030

31-
buildInputs = [
32-
libgit2
33-
zlib
34-
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
35-
darwin.apple_sdk.frameworks.CoreFoundation
36-
darwin.apple_sdk.frameworks.CoreServices
37-
darwin.apple_sdk.frameworks.Security
38-
darwin.apple_sdk.frameworks.SystemConfiguration
39-
];
31+
buildInputs =
32+
[
33+
libgit2
34+
zlib
35+
]
36+
++ lib.optionals stdenv.hostPlatform.isDarwin [
37+
darwin.apple_sdk.frameworks.CoreFoundation
38+
darwin.apple_sdk.frameworks.CoreServices
39+
darwin.apple_sdk.frameworks.Security
40+
darwin.apple_sdk.frameworks.SystemConfiguration
41+
];
4042

4143
# Disabling tests requiring network access
4244
checkFlags = [
4345
"--skip=e2e"
4446
];
4547

48+
nativeInstallCheckInputs = [
49+
versionCheckHook
50+
];
51+
versionCheckProgramArg = [ "--version" ];
52+
doInstallCheck = true;
53+
4654
passthru = {
4755
updateScript = nix-update-script { };
48-
tests.version = testers.testVersion { package = typstyle; };
4956
};
5057

5158
meta = {

0 commit comments

Comments
 (0)