mealie: 3.5.0 -> 3.9.2 (#476826)

This commit is contained in:
Thomas Gerbet
2026-01-11 21:46:25 +00:00
committed by GitHub
2 changed files with 6 additions and 4 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
src: version:
{
lib,
fetchFromGitHub,
fetchYarnDeps,
dart-sass,
nodejs,
@@ -17,7 +16,7 @@ stdenv.mkDerivation {
yarnOfflineCache = fetchYarnDeps {
yarnLock = "${src}/frontend/yarn.lock";
hash = "sha256-qwxsnl9xKzNJEomMB4p8eaiybmlpeUgSUpJtIRhF1Cw=";
hash = "sha256-sZk7OEkJdBZRU9ysRDCetzv09XrK5GhPaxxEBD8k5rw=";
};
nativeBuildInputs = [
+5 -2
View File
@@ -11,12 +11,12 @@
}:
let
version = "3.5.0";
version = "3.9.2";
src = fetchFromGitHub {
owner = "mealie-recipes";
repo = "mealie";
tag = "v${version}";
hash = "sha256-rZOmu2xplIyMgX0uk5XCKf79qWfftHVELYNXdlzYkrY=";
hash = "sha256-jR9NGguxobUenjnvh6vhZztntxNM2rkwkWcq/DeB4JY=";
};
frontend = callPackage (import ./mealie-frontend.nix src version) { };
@@ -87,6 +87,9 @@ pythonpkgs.buildPythonApplication rec {
postPatch = ''
rm -rf dev # Do not need dev scripts & code
substituteInPlace pyproject.toml \
--replace-fail '"setuptools==80.9.0"' '"setuptools"'
substituteInPlace mealie/__init__.py \
--replace-fail '__version__ = ' '__version__ = "v${version}" #'
'';