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]] [[package]]
name = "typstyle" name = "typstyle"
version = "0.11.13" version = "0.11.16"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",

View File

@ -1,6 +1,7 @@
{ lib { lib
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, pkg-config , pkg-config
, libgit2 , libgit2
, zlib , zlib
@ -10,15 +11,24 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "typstyle"; pname = "typstyle";
version = "0.11.13"; version = "0.11.16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Enter-tainer"; owner = "Enter-tainer";
repo = "typstyle"; repo = "typstyle";
rev = "v${version}"; 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 = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { outputHashes = {