-{ ldap ? false, sendmail ? false, light ? null, runCommand, libsass
+{ ldap ? false, sendmail ? false, light ? null, syden ? false, runCommand, libsass
, lib, stdenv, rsync, fetchzip, youtube-dl, fetchurl, mylibs, python, nodejs, nodePackages, yarn2nix-moretea }:
let
nodeHeaders = fetchurl {
source = mylibs.fetchedGithub ./peertube.json;
patchedSource = stdenv.mkDerivation (source // rec {
phases = [ "unpackPhase" "patchPhase" "installPhase" ];
- patches = [ ./yarn_fix_http_node.patch ] ++ lib.optionals ldap [ ./ldap.patch ] ++ lib.optionals sendmail [ ./sendmail.patch ];
+ patches = [ ./yarn_fix_http_node.patch ]
+ ++ lib.optionals ldap [ ./ldap.patch ]
+ ++ lib.optionals sendmail [ ./sendmail.patch ]
+ ++ lib.optionals syden [ ./syden.patch ];
installPhase = let
# Peertube supports several languages, but they take a very long
# time to build. The build script accepts --light which builds
'';
yarnModulesConfig = {
- # all = {
- # buildInputs = [ yarn2nix-moretea.yarn2nix.src ];
- # };
bcrypt = {
buildInputs = [ nodePackages.node-pre-gyp ];
postInstall = let