Unverified Commit fef9403a authored by 7c6f434c's avatar 7c6f434c Committed by GitHub
Browse files

collabora-online: 24.04.13-2 → 24.04.17-3 (#488018)

parents 3c64ab24 51f882ab
Loading
Loading
Loading
Loading
+469 −305

File changed.

Preview size limit exceeded, changes collapsed.

+3 −3
Original line number Diff line number Diff line
@@ -24,13 +24,13 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "collabora-online";
  version = "24.04.13-2";
  version = "24.04.17-3";

  src = fetchFromGitHub {
    owner = "CollaboraOnline";
    repo = "online";
    tag = "cp-${finalAttrs.version}";
    hash = "sha256-d6i/aSmbim7UAKz9VX1ClbtIQravMq0r8beZC9FD6as=";
    hash = "sha256-KJ5E5jvV0MrWdpU4pU+9Y4ngRJ/kk3lcBntbWdQZFqY=";
  };

  nativeBuildInputs = [
@@ -96,7 +96,7 @@ stdenv.mkDerivation (finalAttrs: {
    postPatch = ''
      cp ${./package-lock.json} package-lock.json
    '';
    hash = "sha256-0RnGt9NLgyARgbh2GOcz7H3l4vtij8PD5jmcdUDB/5Y=";
    hash = "sha256-LzXU1WdayfXhkDOlKEtZ/pgYfFPNPml5TNXS9sJp2yI=";
  };

  npmRoot = "browser";
+10 −6
Original line number Diff line number Diff line
@@ -9,12 +9,16 @@ cd "$PACKAGE_DIR/.."
while ! test -f default.nix; do cd .. ; done
NIXPKGS_DIR="$PWD"

if [ "$1" ]; then
  new_version=$1
else
  new_version="$(
    list-git-tags --url=https://github.com/CollaboraOnline/online \
    | grep --perl-regex --only-matching '^cp-\K[0-9.-]+$' \
    | sort --version-sort \
    | tail -n1
  )"
fi

cd "$NIXPKGS_DIR"
update-source-version collabora-online "$new_version"