Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, rustPlatform, fetchCrate }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "rsass";
5 version = "0.27.0";
6
7 src = fetchCrate {
8 pname = "rsass-cli";
9 inherit version;
10 sha256 = "sha256-IaXfxccRRY868waEPI7qbWp1SSAhJlRqgeEiRNddC/c=";
11 };
12
13 cargoSha256 = "sha256-2owdX9ePHcAXpE43Svan252lAa5ICk0/DrDeADegZ6U=";
14
15 meta = with lib; {
16 description = "Sass reimplemented in rust with nom";
17 homepage = "https://github.com/kaj/rsass";
18 changelog = "https://github.com/kaj/rsass/blob/v${version}/CHANGELOG.md";
19 license = with licenses; [ mit /* or */ asl20 ];
20 maintainers = with maintainers; [ figsoda ];
21 };
22}