3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #195420 from benneti/tandoor

This commit is contained in:
Martin Weinelt 2022-10-11 04:00:17 +02:00 committed by GitHub
commit fa67710121
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -1,12 +1,12 @@
{ lib, fetchFromGitHub }:
rec {
version = "1.4.1";
version = "1.4.4";
src = fetchFromGitHub {
owner = "TandoorRecipes";
repo = "recipes";
rev = version;
sha256 = "sha256-Q/IwjSByCUXVYxhk3U7oWvlMxrJxyajhpsRyq67PVHY=";
sha256 = "sha256-1wqZoOT2Aafbs2P0mL33jw5HkrLIitUcRt6bQQcHx40=";
};
yarnSha256 = "sha256-gH0q3pJ2BC5pAU9KSo3C9DDRUnpypoyLOEqKSrkxYrk=";

View file

@ -112,6 +112,9 @@ python.pkgs.pythonPackages.buildPythonPackage rec {
makeWrapper $out/lib/tandoor-recipes/manage.py $out/bin/tandoor-recipes \
--prefix PYTHONPATH : "$PYTHONPATH"
# usually copied during frontend build (see vue.config.js)
cp vue/src/sw.js $out/lib/tandoor-recipes/cookbook/templates/
runHook postInstall
'';