Unverified Commit 2f885cb4 authored by Fabián Heredia Montiel's avatar Fabián Heredia Montiel Committed by GitHub
Browse files

Merge pull request #334231 from anoadragon453/anoa/mealie_perms_patch

mealie: apply upstream patch to fix usage with sops-nix
parents cbccff99 90353ce2
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
, stdenv
, callPackage
, fetchFromGitHub
, fetchpatch
, makeWrapper
, nixosTests
, python3Packages
@@ -46,6 +47,16 @@ pythonpkgs.buildPythonApplication rec {
  inherit version src;
  pyproject = true;

  patches = [
    # Pull in https://github.com/mealie-recipes/mealie/pull/4002 manually until
    # it lands in an upstream mealie release.
    # See https://github.com/NixOS/nixpkgs/issues/321623.
    ( fetchpatch {
        url = "https://github.com/mealie-recipes/mealie/commit/65ece35966120479db903785b22e9f2645f72aa4.patch";
        hash = "sha256-4Nc0dFJrZ7ElN9rrq+CFpayKsrRjRd24fYraUFTzcH8=";
    })
  ];

  build-system = with pythonpkgs; [ poetry-core ];

  nativeBuildInputs = [ makeWrapper ];