Skip to content

Commit

Permalink
froide: tmp downgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
onny committed Dec 11, 2024
1 parent eadd8e4 commit 53da8a6
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions pkgs/by-name/fr/froide/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand All @@ -42,7 +45,7 @@ python.pkgs.buildPythonApplication rec {
nativeBuildInputs = [
makeWrapper
nodejs
pnpm.configHook
#pnpm.configHook
];

dependencies = with python.pkgs; [
Expand Down Expand Up @@ -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/
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 53da8a6

Please sign in to comment.