Unverified Commit 7f014352 authored by h7x4's avatar h7x4 Committed by GitHub
Browse files

Merge pull request #320921 from lelgenio/dart-sass-1.77.6

dart-sass: 1.77.4 -> 1.77.6, chores
parents 8e0f9052 dc502210
Loading
Loading
Loading
Loading
+34 −31
Original line number Diff line number Diff line
{ lib
, fetchFromGitHub
, buildDartApplication
, buf
, protoc-gen-dart
, testers
, dart-sass
, runCommand
, writeText
{
  lib,
  fetchFromGitHub,
  buildDartApplication,
  buf,
  protoc-gen-dart,
  testers,
  dart-sass,
  runCommand,
  writeText,
}:

let
@@ -21,13 +22,13 @@ let
in
buildDartApplication rec {
  pname = "dart-sass";
  version = "1.77.4";
  version = "1.77.6";

  src = fetchFromGitHub {
    owner = "sass";
    repo = pname;
    rev = version;
    hash = "sha256-xHOZDeK6xYnfrb6yih6jzRDZLRvyp0EeKZynEq3A4aI=";
    hash = "sha256-GiZbx60HtyFTsargh0UVhjzOwlw3VWkhUEaX0s2ehos=";
  };

  pubspecLock = lib.importJSON ./pubspec.lock.json;
@@ -45,14 +46,6 @@ buildDartApplication rec {

  dartCompileFlags = [ "--define=version=${version}" ];

  meta = with lib; {
    homepage = "https://github.com/sass/dart-sass";
    description = "Reference implementation of Sass, written in Dart";
    mainProgram = "sass";
    license = licenses.mit;
    maintainers = with maintainers; [ lelgenio ];
  };

  passthru = {
    inherit embedded-protocol-version embedded-protocol;
    updateScript = ./update.sh;
@@ -67,7 +60,8 @@ buildDartApplication rec {
        expected = writeText "expected" ''
          body h1{color:#123}
        '';
        actual = runCommand "actual"
        actual =
          runCommand "actual"
            {
              nativeBuildInputs = [ dart-sass ];
              base = writeText "base" ''
@@ -78,10 +72,19 @@ buildDartApplication rec {
                  }
                }
              '';
          } ''
            }
            ''
              dart-sass --style=compressed $base > $out
            '';
      };
    };
  };

  meta = {
    homepage = "https://github.com/sass/dart-sass";
    description = "Reference implementation of Sass, written in Dart";
    mainProgram = "sass";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ lelgenio ];
  };
}
+8 −8
Original line number Diff line number Diff line
@@ -674,31 +674,31 @@
      "dependency": "direct dev",
      "description": {
        "name": "test",
        "sha256": "d11b55850c68c1f6c0cf00eabded4e66c4043feaf6c0d7ce4a36785137df6331",
        "sha256": "7ee44229615f8f642b68120165ae4c2a75fe77ae2065b1e55ae4711f6cf0899e",
        "url": "https://pub.dev"
      },
      "source": "hosted",
      "version": "1.25.5"
      "version": "1.25.7"
    },
    "test_api": {
      "dependency": "transitive",
      "description": {
        "name": "test_api",
        "sha256": "2419f20b0c8677b2d67c8ac4d1ac7372d862dc6c460cdbb052b40155408cd794",
        "sha256": "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb",
        "url": "https://pub.dev"
      },
      "source": "hosted",
      "version": "0.7.1"
      "version": "0.7.2"
    },
    "test_core": {
      "dependency": "transitive",
      "description": {
        "name": "test_core",
        "sha256": "4d070a6bc36c1c4e89f20d353bfd71dc30cdf2bd0e14349090af360a029ab292",
        "sha256": "55ea5a652e38a1dfb32943a7973f3681a60f872f8c3a05a14664ad54ef9c6696",
        "url": "https://pub.dev"
      },
      "source": "hosted",
      "version": "0.6.2"
      "version": "0.6.4"
    },
    "test_descriptor": {
      "dependency": "direct dev",
@@ -754,11 +754,11 @@
      "dependency": "transitive",
      "description": {
        "name": "vm_service",
        "sha256": "360c4271613beb44db559547d02f8b0dc044741d0eeb9aa6ccdb47e8ec54c63a",
        "sha256": "f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc",
        "url": "https://pub.dev"
      },
      "source": "hosted",
      "version": "14.2.3"
      "version": "14.2.4"
    },
    "watcher": {
      "dependency": "direct main",
+0 −2
Original line number Diff line number Diff line
@@ -40232,8 +40232,6 @@ with pkgs;
  dart = callPackage ../development/compilers/dart { };
  dart-sass = callPackage ../development/tools/misc/dart-sass { };
  pub2nix = recurseIntoAttrs (callPackage ../build-support/dart/pub2nix { });
  buildDartApplication = callPackage ../build-support/dart/build-dart-application { };