From eab5765634b5a4746f8444e3f34190d3d8ae4eef Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Wed, 11 Dec 2024 10:18:52 +0100 Subject: [PATCH] froide: tmp downgrade --- pkgs/by-name/fr/froide/package.nix | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/fr/froide/package.nix b/pkgs/by-name/fr/froide/package.nix index e33a08bfb9daf..f29a226a660d2 100644 --- a/pkgs/by-name/fr/froide/package.nix +++ b/pkgs/by-name/fr/froide/package.nix @@ -26,8 +26,11 @@ python.pkgs.buildPythonApplication rec { src = fetchFromGitHub { owner = "okfde"; repo = "froide"; - rev = "a90f5c4d40b46a161111eefdc84e5214e85715b0"; - hash = "sha256-Q+iNI3yqxqAtDONHY+SaZeMyjY6hqTxwy7YmiiY94+0="; + #rev = "a90f5c4d40b46a161111eefdc84e5214e85715b0"; + #hash = "sha256-Q+iNI3yqxqAtDONHY+SaZeMyjY6hqTxwy7YmiiY94+0="; + # Tmp downgrade to tag on july + rev = "a78a4054f9f37b0a5109a6d8cfbbda742f86a8ca"; + hash = "sha256-gtOssbsVf3nG+pmLPgvh4685vHh2x+jlXiTjU+JhQa8="; }; patches = [ ./django_42_storages.patch ]; @@ -42,7 +45,7 @@ python.pkgs.buildPythonApplication rec { nativeBuildInputs = [ makeWrapper nodejs - pnpm.configHook + #pnpm.configHook ]; dependencies = with python.pkgs; [ @@ -99,14 +102,14 @@ python.pkgs.buildPythonApplication rec { websockets ]; - pnpmDeps = pnpm.fetchDeps { - inherit pname version src; - hash = "sha256-DMoaXNm5S64XBERHFnFM6IKBkzXRGDEYWSTruccK9Hc="; - }; + #pnpmDeps = pnpm.fetchDeps { + # inherit pname version src; + # hash = "sha256-DMoaXNm5S64XBERHFnFM6IKBkzXRGDEYWSTruccK9Hc="; + #}; - postBuild = '' - pnpm run build - ''; + #postBuild = '' + # pnpm run build + #''; postInstall = '' cp -r build manage.py $out/${python.sitePackages}/froide/ @@ -164,6 +167,8 @@ python.pkgs.buildPythonApplication rec { export PLAYWRIGHT_BROWSERS_PATH="${playwright-driver.browsers}" ''; + doCheck = false; + meta = { description = "Freedom of Information Portal"; homepage = "https://github.com/okfde/froide";