Merge: wiki-js: 2.5.304 -> 2.5.305, reduce closure size by 50% (#349571)

This commit is contained in:
Maximilian Bosch 2024-10-19 08:02:04 +02:00 committed by GitHub
commit 39bcd40692
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,13 +2,22 @@
stdenv.mkDerivation rec {
pname = "wiki-js";
version = "2.5.304";
version = "2.5.305";
src = fetchurl {
url = "https://github.com/Requarks/wiki/releases/download/v${version}/${pname}.tar.gz";
sha256 = "sha256-w89+X3sqZPlX7EuK/g2oATHqlpx1br/Njh81vZt8zYM=";
sha256 = "sha256-beP9k1msJjg9IQbU/CmzTodjMvUnWrLYcw0EleR1OJk=";
};
# Unpack the tarball into a subdir. All the contents are copied into `$out`.
# Unpacking into the parent directory would also copy `env-vars` into `$out`
# in the `installPhase` which ultimately means that the package retains
# references to build tools and the tarball.
preUnpack = ''
mkdir source
cd source
'';
sourceRoot = ".";
dontBuild = true;