Unverified Commit 8d76c0b6 authored by Izorkin's avatar Izorkin
Browse files

peertube: 5.0.0 -> 5.1.0

parent 0767f800
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -429,7 +429,7 @@ in {

      environment = env;

      path = with pkgs; [ bashInteractive ffmpeg nodejs_16 openssl yarn python3 ];
      path = with pkgs; [ bashInteractive ffmpeg nodejs_18 openssl yarn python3 ];

      script = ''
        #!/bin/sh
@@ -859,7 +859,7 @@ in {
          home = cfg.package;
        };
      })
      (lib.attrsets.setAttrByPath [ cfg.user "packages" ] [ cfg.package peertubeEnv peertubeCli pkgs.ffmpeg pkgs.nodejs_16 pkgs.yarn ])
      (lib.attrsets.setAttrByPath [ cfg.user "packages" ] [ cfg.package peertubeEnv peertubeCli pkgs.ffmpeg pkgs.nodejs_18 pkgs.yarn ])
      (lib.mkIf cfg.redis.enableUnixSocket {${config.services.peertube.user}.extraGroups = [ "redis-peertube" ];})
    ];

+4 −4
Original line number Diff line number Diff line
@@ -14,18 +14,18 @@ let

in stdenv.mkDerivation rec {
  pname = "peertube";
  version = "5.0.0";
  version = "5.1.0";

  src = fetchFromGitHub {
    owner = "Chocobozzz";
    repo = "PeerTube";
    rev = "v${version}";
    hash = "sha256-Z2l0I/vVEx4ivC87N26QaUnQjySU/XRFW3biEwl7Od0=";
    hash = "sha256-C9mBF+QymGXyBB3IFX6MNgsZpHk739qv1/DLuvzrTaU=";
  };

  yarnOfflineCacheServer = fetchYarnDeps {
    yarnLock = "${src}/yarn.lock";
    hash = "sha256-EVviTrgSZYsi68hJIlSC9ArQS3aVp6EQNKbkVx12WJk=";
    hash = "sha256-W+pX2XO27j6qAVxvo+Xf1h7g3V0LUMtwNf+meZmkgwE=";
  };

  yarnOfflineCacheTools = fetchYarnDeps {
@@ -35,7 +35,7 @@ in stdenv.mkDerivation rec {

  yarnOfflineCacheClient = fetchYarnDeps {
    yarnLock = "${src}/client/yarn.lock";
    hash = "sha256-ehA1W1bDXzApTpkWH7MEAQ9Ek73q3En76/LdvJhxh2Q=";
    hash = "sha256-TAv8QAAfT3q28jUo26h0uCGsoqBzAn8lybIaqNAApU8=";
  };

  nativeBuildInputs = [ brotli fixup_yarn_lock jq nodejs which yarn ];
+1 −1
Original line number Diff line number Diff line
@@ -33111,7 +33111,7 @@ with pkgs;
  peek = callPackage ../applications/video/peek { };
  peertube = callPackage ../servers/peertube {
    nodejs = nodejs_16;
    nodejs = nodejs_18;
  };
  peroxide = callPackage ../applications/networking/peroxide { };