Unverified Commit 15f19b46 authored by Matteo Pacini's avatar Matteo Pacini Committed by GitHub
Browse files

update cross-seed 6.13.5 -> 6.13.6 (#489850)

parents cb09a088 f04ace39
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ in
          };

          outputDir = mkOption {
            type = types.path;
            type = types.nullOr types.path;
            default = "${cfg.configDir}/output";
            defaultText = "\${cfg.configDir}/output";
            description = "Directory where cross-seed will place torrent files it finds.";
@@ -193,7 +193,8 @@ in
          inherit (cfg) group user;
          mode = "700";
        };

      }
      // lib.optionalAttrs (cfg.settings.outputDir != null) {
        ${cfg.settings.outputDir}.d = {
          inherit (cfg) group user;
          mode = "750";
@@ -222,7 +223,7 @@ in
          LoadCredential = lib.mkIf (cfg.settingsFile != null) "secretSettingsFile:${cfg.settingsFile}";

          StateDirectory = "cross-seed";
          ReadWritePaths = [ cfg.settings.outputDir ];
          ReadWritePaths = lib.optional (cfg.settings.outputDir != null) cfg.settings.outputDir;
          ReadOnlyPaths = lib.optional (cfg.settings.torrentDir != null) cfg.settings.torrentDir;
        };

@@ -231,7 +232,7 @@ in
          RequiresMountsFor = lib.flatten [
            cfg.settings.dataDirs
            cfg.settings.linkDirs
            cfg.settings.outputDir
            (lib.optional (cfg.settings.outputDir != null) cfg.settings.outputDir)
          ];
        };
      };
+3 −3
Original line number Diff line number Diff line
@@ -8,16 +8,16 @@

buildNpmPackage rec {
  pname = "cross-seed";
  version = "6.13.5";
  version = "6.13.6";

  src = fetchFromGitHub {
    owner = "cross-seed";
    repo = "cross-seed";
    tag = "v${version}";
    hash = "sha256-WdKd20vzJfWvnZKBID6IzXOScrZgPKDDafzT2PY9N9k=";
    hash = "sha256-E2tnlDU2/msNcSsoDXvwGWFhWpXEByloUmlVp2tckwo=";
  };

  npmDepsHash = "sha256-iTho+dbJAt7B2R+dN2xo6jnRo/psjQE76GHYksoojdA=";
  npmDepsHash = "sha256-tR7zPoIX6yjlRx8QbRSxskvueQ1BsP3gGAlonKHH0RY=";

  passthru = {
    updateScript = nix-update-script;