nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchCrate,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "rsass";
9 version = "0.29.0";
10
11 src = fetchCrate {
12 pname = "rsass-cli";
13 inherit version;
14 hash = "sha256-3Xi+8TKmlZJYsZogzezce0KvasqTRfh04SmeC1UbJQ0=";
15 };
16
17 cargoHash = "sha256-TZZweDTF5sGdrCBXh42yaBMTI9ehjHGSFQu9HzVQEdA=";
18
19 meta = {
20 description = "Sass reimplemented in rust with nom";
21 mainProgram = "rsass";
22 homepage = "https://github.com/kaj/rsass";
23 changelog = "https://github.com/kaj/rsass/blob/v${version}/CHANGELOG.md";
24 license = with lib.licenses; [
25 mit # or
26 asl20
27 ];
28 maintainers = with lib.maintainers; [ figsoda ];
29 };
30}