Unverified Commit e77b22af authored by Martin Weinelt's avatar Martin Weinelt
Browse files
parent 62db788b
Loading
Loading
Loading
Loading
+47 −51
Original line number Diff line number Diff line
@@ -4,7 +4,6 @@
  python3,
  fetchFromGitHub,
  nixosTests,
  fetchPypi,
  fetchYarnDeps,
  nodejs,
  yarnBuildHook,
@@ -15,23 +14,15 @@ let
    self = python3;
    packageOverrides = self: super: {
      django = super.django_5_2;
      django-csp = super.django-csp.overridePythonAttrs rec {
        version = "4.0";
        src = fetchPypi {
          inherit version;
          pname = "django_csp";
          hash = "sha256-snAQu3Ausgo9rTKReN8rYaK4LTOLcPvcE8OjvShxKDM=";
        };
      };
    };
  };

  version = "4.0.0";
  version = "4.1.0";
  src = fetchFromGitHub {
    owner = "suitenumerique";
    repo = "docs";
    tag = "v${version}";
    hash = "sha256-rhbS6NYk8sZmtrNpKJrm24vOwAJGEDVS9fpFWuyvPGA=";
    hash = "sha256-vZkqHlZ1aDOXcrdyV8BXmI95AmMalXOuVLS9XWB/YxU=";
  };

  mail-templates = stdenv.mkDerivation {
@@ -71,7 +62,9 @@ python.pkgs.buildPythonApplication rec {

  build-system = with python.pkgs; [ setuptools ];

  dependencies = with python.pkgs; [
  dependencies =
    with python.pkgs;
    [
      beautifulsoup4
      boto3
      celery
@@ -110,7 +103,10 @@ python.pkgs.buildPythonApplication rec {
      requests
      sentry-sdk
      whitenoise
  ];
    ]
    ++ celery.optional-dependencies.redis
    ++ django-lasuite.optional-dependencies.all
    ++ django-storages.optional-dependencies.s3;

  pythonRelaxDeps = true;