94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
29 lines
698 B
Nix
29 lines
698 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildDartApplication
|
|
}:
|
|
|
|
buildDartApplication rec {
|
|
pname = "dart-sass";
|
|
version = "1.62.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sass";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-U6enz8yJcc4Wf8m54eYIAnVg/jsGi247Wy8lp1r1wg4=";
|
|
};
|
|
|
|
pubspecLockFile = ./pubspec.lock;
|
|
vendorHash = "sha256-Atm7zfnDambN/BmmUf4BG0yUz/y6xWzf0reDw3Ad41s=";
|
|
|
|
dartCompileFlags = "--define=version=${version}";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/sass/dart-sass";
|
|
description = "The reference implementation of Sass, written in Dart";
|
|
mainProgram = "sass";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ lelgenio ];
|
|
};
|
|
}
|