tangram: 2.0 -> 3.0

This commit is contained in:
Chuang Zhu 2023-04-30 23:30:50 +08:00
parent d6b863fd9b
commit 2f5a2598c2

View file

@ -25,13 +25,13 @@
stdenv.mkDerivation rec {
pname = "tangram";
version = "2.0";
version = "3.0";
src = fetchFromGitHub {
owner = "sonnyp";
repo = "Tangram";
rev = "v${version}";
hash = "sha256-ocHE8IztiNm9A1hbzzHXstWpPaOau/IrQ44ccxbsGb0=";
hash = "sha256-6QOkvsYFgFFyxnDlA5Xpl3FnsSZOj9ooehCPOmpKe8M=";
fetchSubmodules = true;
};
@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace src/meson.build --replace "/app/bin/blueprint-compiler" "blueprint-compiler"
substituteInPlace {src/,}re.sonny.Tangram troll/gjspack/bin/gjspack \
substituteInPlace src/bin.js troll/gjspack/bin/gjspack \
--replace "#!/usr/bin/env -S gjs -m" "#!${gjs}/bin/gjs -m"
'';