tpnote: 1.25.16 -> 1.25.17

Changelog: https://github.com/getreu/tp-note/releases/tag/v1.25.17

Closes #470485
This commit is contained in:
Justin Chen
2025-12-22 13:09:34 +08:00
parent 01036d14a3
commit 939716e0f0
+13 -3
View File
@@ -13,16 +13,16 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "tpnote";
version = "1.25.16";
version = "1.25.17";
src = fetchFromGitHub {
owner = "getreu";
repo = "tp-note";
tag = "v${finalAttrs.version}";
hash = "sha256-gltzK1C+4qddJ49vv+OZ8AVuMeBWArwOZkL+v7cxFzw=";
hash = "sha256-XOoqPhWS50kj2n48A0SyOuUZHsoP7YxMrWpzgpTr/DY=";
};
cargoHash = "sha256-OH3aSQdcAGNRJWGmgQ4LNnD89hqCIEh+ieHosjFhAbk=";
cargoHash = "sha256-4e06W8Q+pJTcUgfDSHU1ZTMG/55mYvJ6DAX3QeAa9TI=";
nativeBuildInputs = [
cmake
@@ -34,6 +34,16 @@ rustPlatform.buildRustPackage (finalAttrs: {
oniguruma
];
postPatch = ''
# In these `Cargo.toml`s, local dependencies should be specified by path,
# otherwise they will be looked up in vendored dependencies.
substituteInPlace tpnote/Cargo.toml \
--replace-fail 'tpnote-lib = { version =' 'tpnote-lib = { path = "../tpnote-lib", version ='
substituteInPlace tpnote-lib/Cargo.toml \
--replace-fail 'tpnote-html2md = { version =' 'tpnote-html2md = { path = "../tpnote-html2md", version ='
'';
postInstall = ''
installManPage docs/build/man/man1/tpnote.1
'';