tpnote: 1.25.16 -> 1.25.17 (#470587)

This commit is contained in:
Gergő Gutyina
2025-12-29 22:58:50 +00:00
committed by GitHub
+17 -4
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
'';
@@ -61,6 +71,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
homepage = "https://blog.getreu.net/projects/tp-note/";
license = lib.licenses.mit;
mainProgram = "tpnote";
maintainers = with lib.maintainers; [ getreu ];
maintainers = with lib.maintainers; [
getreu
starryreverie
];
};
})