1{ lib, rustPlatform, fetchCrate }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "rsass";
5 version = "0.26.0";
6
7 src = fetchCrate {
8 inherit pname version;
9 sha256 = "sha256-Ksub+VYTbaWbFpHJFrMr6Dnx6LOnEOUlI2qHhCfbS40=";
10 };
11
12 cargoSha256 = "sha256-ugG4ivQ2NzLJeZss7h9TME2Aipurl1LZBgxt1cYaK2E=";
13
14 buildFeatures = [ "commandline" ];
15
16 meta = with lib; {
17 description = "Sass reimplemented in rust with nom";
18 homepage = "https://github.com/kaj/rsass";
19 changelog = "https://github.com/kaj/rsass/blob/v${version}/CHANGELOG.md";
20 license = with licenses; [ mit /* or */ asl20 ];
21 maintainers = with maintainers; [ figsoda ];
22 };
23}