typstyle: 0.11.13 -> 0.11.16

This commit is contained in:
Léana 江 2024-05-03 10:45:43 +02:00
parent 9788bf7252
commit 1d35c905a8
No known key found for this signature in database
GPG Key ID: 4E887A4CA9714ADA
2 changed files with 13 additions and 3 deletions

View File

@ -3649,7 +3649,7 @@ dependencies = [
[[package]]
name = "typstyle"
version = "0.11.13"
version = "0.11.16"
dependencies = [
"anyhow",
"clap",

View File

@ -1,6 +1,7 @@
{ lib
, rustPlatform
, fetchFromGitHub
, fetchpatch
, pkg-config
, libgit2
, zlib
@ -10,15 +11,24 @@
rustPlatform.buildRustPackage rec {
pname = "typstyle";
version = "0.11.13";
version = "0.11.16";
src = fetchFromGitHub {
owner = "Enter-tainer";
repo = "typstyle";
rev = "v${version}";
hash = "sha256-xJoL/YgdkORQf+U/1E2OVk6pD/IuXxJJTw+Xufonjd0=";
hash = "sha256-ZmGrdAHbU4PQgd9haoVEZ8Wn8Scujm9bJAtvO2+aPoQ=";
};
patches = [
(fetchpatch {
# Trim whitespace patch
name = "whitespace-trim.patch";
url = "https://github.com/Enter-tainer/typstyle/commit/127b7362f5938e091e2e5a33976ad3f63b6e4ee3.patch";
hash = "sha256-Xzo51bgpEUKP7WDQ7BFNAZsyofPcPDIJMWOf4S+GGvI=";
})
];
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {