Unverified Commit 91a605bd authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

butterfly: 2.3.2 -> 2.3.3 (#432668)

parents 213deb19 e0437c2e
Loading
Loading
Loading
Loading
+12 −10
Original line number Diff line number Diff line
{
  lib,
  flutter329,
  flutter332,
  fetchFromGitHub,
  runCommand,
  butterfly,
  yq,
  yq-go,
  _experimental-update-script-combinators,
  gitUpdater,
}:

flutter329.buildFlutterApplication rec {
  pname = "butterfly";
  version = "2.3.2";
let
  version = "2.3.3";

  src = fetchFromGitHub {
    owner = "LinwoodDev";
    repo = "Butterfly";
    tag = "v${version}";
    hash = "sha256-eAkepyZm4WgPo8ieBbWHoSSv/Zfr9U9HCsbxEyrzy0Y=";
    hash = "sha256-3cDT1t74SrDUqUtFmNZFQHUx+eCdDjZhPseT3lhNOYE=";
  };
in
flutter332.buildFlutterApplication {
  pname = "butterfly";
  inherit version src;

  pubspecLock = lib.importJSON ./pubspec.lock.json;

@@ -34,11 +36,11 @@ flutter329.buildFlutterApplication rec {
    pubspecSource =
      runCommand "pubspec.lock.json"
        {
          buildInputs = [ yq ];
          inherit (butterfly) src;
          inherit src;
          nativeBuildInputs = [ yq-go ];
        }
        ''
          cat $src/app/pubspec.lock | yq > $out
          yq eval --output-format=json --prettyPrint $src/pubspec.lock > "$out"
        '';
    updateScript = _experimental-update-script-combinators.sequence [
      (gitUpdater {
+129 −89

File changed.

Preview size limit exceeded, changes collapsed.