Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: mealie 3.12.0 -> 3.17.0 https://github.com/mealie-recipes/mealie/releases attrpath: mealie Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/rqz5z02ld9v8ci9ig562wwngckn6c9hg-packages.json.drv building '/nix/store/rqz5z02ld9v8ci9ig562wwngckn6c9hg-packages.json.drv'... Going to be running update for following packages: - mealie-3.12.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - mealie-3.12.0: UPDATING ... - mealie-3.12.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/me/mealie/package.nix b/pkgs/by-name/me/mealie/package.nix index 8200c4b38e1e..adf3732dbc2b 100644 --- a/pkgs/by-name/me/mealie/package.nix +++ b/pkgs/by-name/me/mealie/package.nix @@ -12,12 +12,12 @@ }: let - version = "3.12.0"; + version = "3.17.0"; src = fetchFromGitHub { owner = "mealie-recipes"; repo = "mealie"; tag = "v${version}"; - hash = "sha256-HjXEoLrjmf4ZfBm6/7f5SJzH7nHSKiMOOMRVrYW0vKY="; + hash = "sha256-YbZjiz99amOvtBCK+qF2uPrlW0RzP6u+cBUBpU2KOhA="; }; frontend = callPackage (import ./mealie-frontend.nix src version) { }; No auto update branch exists Old version 3.12.0" not present in staging derivation file with contents: { lib, pkgs, callPackage, fetchFromGitHub, makeWrapper, nixosTests, python3, nltk-data, writeShellScript, nix-update-script, }: let version = "3.16.0"; src = fetchFromGitHub { owner = "mealie-recipes"; repo = "mealie"; tag = "v${version}"; hash = "sha256-DUwLCe221MQb6AEYNxNDWXoaEdf9q/dNklOXJncnnJ4="; }; frontend = callPackage (import ./mealie-frontend.nix src version) { }; python = python3; pythonpkgs = python.pkgs; in pythonpkgs.buildPythonApplication rec { pname = "mealie"; inherit version src; pyproject = true; build-system = with pythonpkgs; [ setuptools ]; nativeBuildInputs = [ makeWrapper ]; dontWrapPythonPrograms = true; pythonRelaxDeps = true; dependencies = with pythonpkgs; [ aiofiles alembic aniso8601 appdirs apprise authlib bcrypt beautifulsoup4 extruct fastapi freezegun html2text httpx httpx-curl-cffi ingredient-parser-nlp isodate itsdangerous jinja2 lxml openai orjson paho-mqtt pillow pillow-heif psycopg2 # pgsql optional-dependencies pydantic pydantic-settings pyhumps pyjwt python-dateutil python-dotenv python-ldap python-multipart python-slugify pyyaml rapidfuzz recipe-scrapers requests sqlalchemy text-unidecode typing-extensions tzdata uvicorn yt-dlp ] ++ uvicorn.optional-dependencies.standard; postPatch = '' rm -rf dev # Do not need dev scripts & code substituteInPlace pyproject.toml \ --replace-fail '"setuptools==82.0.1"' '"setuptools"' substituteInPlace mealie/__init__.py \ --replace-fail '__version__ = ' '__version__ = "v${version}" #' ''; postInstall = let start_script = writeShellScript "start-mealie" '' ${lib.getExe pythonpkgs.gunicorn} "$@" -k uvicorn.workers.UvicornWorker mealie.app:app; ''; init_db = writeShellScript "init-mealie-db" '' ${python.interpreter} $OUT/${python.sitePackages}/mealie/db/init_db.py ''; in '' mkdir -p $out/bin $out/libexec rm -f $out/bin/* makeWrapper ${start_script} $out/bin/mealie \ --set PYTHONPATH "$out/${python.sitePackages}:${pythonpkgs.makePythonPath dependencies}" \ --set STATIC_FILES "${frontend}" makeWrapper ${init_db} $out/libexec/init_db \ --set PYTHONPATH "$out/${python.sitePackages}:${pythonpkgs.makePythonPath dependencies}" \ --set OUT "$out" ''; nativeCheckInputs = with pythonpkgs; [ pytestCheckHook pytest-asyncio ]; # Needed for tests preCheck = '' export NLTK_DATA=${nltk-data.averaged-perceptron-tagger-eng} ''; disabledTests = [ # pydantic_core._pydantic_core.ValidationError: 1 validation error "test_pg_connection_url_encode_password" ]; passthru = { updateScript = nix-update-script { }; tests = { inherit (nixosTests) mealie; }; }; meta = { description = "Self hosted recipe manager and meal planner"; longDescription = '' Mealie is a self hosted recipe manager and meal planner with a REST API and a reactive frontend application built in NuxtJS for a pleasant user experience for the whole family. Easily add recipes into your database by providing the URL and Mealie will automatically import the relevant data or add a family recipe with the UI editor. ''; homepage = "https://mealie.io"; changelog = "https://github.com/mealie-recipes/mealie/releases/tag/${src.tag}"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ litchipi anoa esch ]; mainProgram = "mealie"; }; }