Merge pull request #334231 from anoadragon453/anoa/mealie_perms_patch

mealie: apply upstream patch to fix usage with sops-nix
This commit is contained in:
Fabián Heredia Montiel
2024-08-15 15:12:50 -06:00
committed by GitHub
+11
View File
@@ -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 ];