Unverified Commit 0fbfdbf5 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #229137 from chuangzhu/tangram

tangram: 2.0 -> 3.0
parents 716dc05b 2f5a2598
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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"
  '';