Skip to content

Commit 3a222f9

Browse files
authored
Merge pull request #318510 from GaetanLepage/typstyle
typstyle: 0.11.24 -> 0.11.25
2 parents 61efaa5 + b9ce5c3 commit 3a222f9

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

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

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,23 @@
66
, zlib
77
, stdenv
88
, darwin
9+
, nix-update-script
10+
, testers
11+
, typstyle
912
}:
1013

1114
rustPlatform.buildRustPackage rec {
1215
pname = "typstyle";
13-
version = "0.11.24";
16+
version = "0.11.25";
1417

1518
src = fetchFromGitHub {
1619
owner = "Enter-tainer";
1720
repo = "typstyle";
1821
rev = "refs/tags/v${version}";
19-
hash = "sha256-FLvbY+0TozOWZ+JTX//psNjle5GxcyeZXzMOf4/s1v0=";
22+
hash = "sha256-wpG+laz1k/zCnEAVOyXzrN2DOECpKWT1nVCuQUwD+p0=";
2023
};
2124

22-
cargoHash = "sha256-VA2WNheQltgCaWwtpbEAn2qtlA0fTeEbCjvgkjF+nvw=";
25+
cargoHash = "sha256-JeEM2sxVR5qWCPBV1BT097HvkIikwPdZhOa5747e3vQ=";
2326

2427
nativeBuildInputs = [
2528
pkg-config
@@ -40,6 +43,11 @@ rustPlatform.buildRustPackage rec {
4043
"--skip=e2e"
4144
];
4245

46+
passthru = {
47+
updateScript = nix-update-script { };
48+
tests.version = testers.testVersion { package = typstyle; };
49+
};
50+
4351
meta = {
4452
changelog = "https://github.com/Enter-tainer/typstyle/blob/${src.rev}/CHANGELOG.md";
4553
description = "Format your typst source code";

0 commit comments

Comments
 (0)