X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=nixops%2Fmodules%2Fwebsites%2Ftools%2Fmediagoblin%2Fmediagoblin.nix;h=53796d572bdaa1fd237dd5b92daa2884a82f404a;hb=587b9e340bb5cb14ca55e62a0498295e702b56c5;hp=45bc432f2bcdccf289247ba76f8cdb3c94594a99;hpb=caa08508100ce2307a4c64ff047241572ff85b45;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/nixops/modules/websites/tools/mediagoblin/mediagoblin.nix b/nixops/modules/websites/tools/mediagoblin/mediagoblin.nix index 45bc432..53796d5 100644 --- a/nixops/modules/websites/tools/mediagoblin/mediagoblin.nix +++ b/nixops/modules/websites/tools/mediagoblin/mediagoblin.nix @@ -1,4 +1,4 @@ -{ env, makeWrapper, stdenv, writeText, fetchurl, buildBowerComponents, fetchedGit, fetchedGithub, which, python3, pkgs, automake, autoconf, nodejs, nodePackages, git, cacert }: +{ env, makeWrapper, stdenv, writeText, fetchurl, buildBowerComponents, fetchedGit, fetchedGithub, which, python36, pkgs, automake, autoconf, nodejs, nodePackages, git, cacert }: let plugins = { basicsearch = stdenv.mkDerivation (fetchedGithub ./mediagoblin-plugin-basicsearch.json // rec { @@ -68,11 +68,11 @@ let url = "mirror://pypi/P/PasteScript/${name}.tar.gz"; sha256 = "1h3nnhn45kf4pbcv669ik4faw04j58k8vbj1hwrc532k0nc28gy0"; }; - propagatedBuildInputs = with self; [ six paste PasteDeploy argparse ]; + propagatedBuildInputs = with self; [ six paste PasteDeploy ]; }); }; in - python3.override { inherit packageOverrides; }; + python36.override { inherit packageOverrides; }; pythonEnv = python-pkgs: with python-pkgs; [ waitress alembic dateutil wtforms pybcrypt pytest pytest_xdist werkzeug celery @@ -80,7 +80,7 @@ let sqlalchemy itsdangerous pytz sphinx six oauthlib unidecode jsonschema PasteDeploy requests PyLD exifread - typing pasteScript + typing pasteScript lxml # For images plugin pillow # For video plugin