nixpkgs/pkgs/development/tools/misc/dart-sass/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
698 B
Nix
Raw Normal View History

2023-05-02 01:12:24 +00:00
{ lib
, fetchFromGitHub
2023-05-04 23:22:22 +00:00
, buildDartApplication
2023-05-02 01:12:24 +00:00
}:
2023-05-04 23:22:22 +00:00
buildDartApplication rec {
2023-05-02 01:12:24 +00:00
pname = "dart-sass";
version = "1.62.1";
src = fetchFromGitHub {
owner = "sass";
repo = pname;
2023-05-04 23:22:22 +00:00
rev = version;
2023-05-02 01:12:24 +00:00
hash = "sha256-U6enz8yJcc4Wf8m54eYIAnVg/jsGi247Wy8lp1r1wg4=";
};
2023-05-04 23:22:22 +00:00
pubspecLockFile = ./pubspec.lock;
vendorHash = "sha256-Atm7zfnDambN/BmmUf4BG0yUz/y6xWzf0reDw3Ad41s=";
2023-05-02 01:12:24 +00:00
2023-05-04 23:22:22 +00:00
dartCompileFlags = "--define=version=${version}";
2023-05-02 01:12:24 +00:00
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 ];
};
2023-05-04 23:22:22 +00:00
}