about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGaetan Lepage <gaetan@glepage.com>2024-06-09 13:22:49 +0200
committerGaetan Lepage <gaetan@glepage.com>2024-06-09 13:24:56 +0200
commitb9ce5c3cee29609519d6029c34b9ba54f6b2ea36 (patch)
tree96b583d768b4323bdf0dcb07122ff74083ecc8fe
parente11f17b73a50eccdb35f2f3ebc8bc8b088632322 (diff)
typstyle: 0.11.24 -> 0.11.25
Diff: https://github.com/Enter-tainer/typstyle/compare/refs/tags/v0.11.24...v0.11.25

Changelog: https://github.com/Enter-tainer/typstyle/blob/refs/tags/v0.11.25/CHANGELOG.md
-rw-r--r--pkgs/by-name/ty/typstyle/package.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/by-name/ty/typstyle/package.nix b/pkgs/by-name/ty/typstyle/package.nix
index f308dc0bff729..cc96a0f5005f0 100644
--- a/pkgs/by-name/ty/typstyle/package.nix
+++ b/pkgs/by-name/ty/typstyle/package.nix
@@ -6,20 +6,23 @@
 , zlib
 , stdenv
 , darwin
+, nix-update-script
+, testers
+, typstyle
 }:
 
 rustPlatform.buildRustPackage rec {
   pname = "typstyle";
-  version = "0.11.24";
+  version = "0.11.25";
 
   src = fetchFromGitHub {
     owner = "Enter-tainer";
     repo = "typstyle";
     rev = "refs/tags/v${version}";
-    hash = "sha256-FLvbY+0TozOWZ+JTX//psNjle5GxcyeZXzMOf4/s1v0=";
+    hash = "sha256-wpG+laz1k/zCnEAVOyXzrN2DOECpKWT1nVCuQUwD+p0=";
   };
 
-  cargoHash = "sha256-VA2WNheQltgCaWwtpbEAn2qtlA0fTeEbCjvgkjF+nvw=";
+  cargoHash = "sha256-JeEM2sxVR5qWCPBV1BT097HvkIikwPdZhOa5747e3vQ=";
 
   nativeBuildInputs = [
     pkg-config
@@ -40,6 +43,11 @@ rustPlatform.buildRustPackage rec {
     "--skip=e2e"
   ];
 
+  passthru = {
+    updateScript = nix-update-script { };
+    tests.version = testers.testVersion { package = typstyle; };
+  };
+
   meta = {
     changelog = "https://github.com/Enter-tainer/typstyle/blob/${src.rev}/CHANGELOG.md";
     description = "Format your typst source code";