mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 04:04:06 +01:00
mealie: 3.5.0 -> 3.9.2
Changelog: https://github.com/mealie-recipes/mealie/releases/tag/refs/tags/v3.9.2
This commit is contained in:
parent
2acf00486e
commit
911ca492e3
2 changed files with 6 additions and 4 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
|
|
@ -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}" #'
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue