2023-03-04 12:14:45 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchCrate
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "grass";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.13.4";
|
2023-03-04 12:14:45 +00:00
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-uk4XLF0QsH9Nhz73PmdSpwhxPdCh+DlNNqtbJtLWgNI=";
|
2023-03-04 12:14:45 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
cargoHash = "sha256-Vnbda4dkCIRheqKq4umLhn2LCO7lkJQUuPrkExj9708=";
|
2023-03-04 12:14:45 +00:00
|
|
|
|
|
|
|
# tests require rust nightly
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Sass compiler written purely in Rust";
|
2023-03-04 12:14:45 +00:00
|
|
|
homepage = "https://github.com/connorskees/grass";
|
|
|
|
changelog = "https://github.com/connorskees/grass/blob/master/CHANGELOG.md#${replaceStrings [ "." ] [ "" ] version}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "grass";
|
2023-03-04 12:14:45 +00:00
|
|
|
};
|
|
|
|
}
|