shaarli: 0.16.1 -> 0.16.3

https://github.com/shaarli/Shaarli/releases/tag/v0.16.3

Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol)
This commit is contained in:
Gerhard Schwanzer
2026-07-16 23:57:31 +02:00
parent b7be7c9f10
commit 2c4d8909a9

View File

@@ -2,15 +2,16 @@
lib,
stdenv,
fetchurl,
unzip,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "shaarli";
version = "0.16.1";
version = "0.16.3";
src = fetchurl {
url = "https://github.com/shaarli/Shaarli/releases/download/v${finalAttrs.version}/shaarli-v${finalAttrs.version}-full.tar.gz";
sha256 = "sha256-SK9J8w8cekxiWBhz/Zp5pOfHgndfEEN5/Kcf6lXJBmA=";
url = "https://github.com/shaarli/Shaarli/releases/download/v${finalAttrs.version}/shaarli-v${finalAttrs.version}-full.zip";
sha256 = "sha256-qGZ/11NiQLp1Kj2ybDpmnM9YuwMsJbA8r2Juhys2JLQ=";
};
outputs = [
@@ -18,6 +19,8 @@ stdenv.mkDerivation (finalAttrs: {
"doc"
];
nativeBuildInputs = [ unzip ];
patchPhase = ''
substituteInPlace index.php \
--replace "new ConfigManager();" "new ConfigManager(getenv('SHAARLI_CONFIG'));"