mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
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:
@@ -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'));"
|
||||
|
||||
Reference in New Issue
Block a user