diff --git a/pkgs/development/tools/misc/rsass/default.nix b/pkgs/development/tools/misc/rsass/default.nix new file mode 100644 index 000000000000..8ce2e3c58137 --- /dev/null +++ b/pkgs/development/tools/misc/rsass/default.nix @@ -0,0 +1,23 @@ +{ lib, rustPlatform, fetchCrate }: + +rustPlatform.buildRustPackage rec { + pname = "rsass"; + version = "0.26.0"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-Ksub+VYTbaWbFpHJFrMr6Dnx6LOnEOUlI2qHhCfbS40="; + }; + + cargoSha256 = "sha256-ugG4ivQ2NzLJeZss7h9TME2Aipurl1LZBgxt1cYaK2E="; + + buildFeatures = [ "commandline" ]; + + meta = with lib; { + description = "Sass reimplemented in rust with nom"; + homepage = "https://github.com/kaj/rsass"; + changelog = "https://github.com/kaj/rsass/blob/v${version}/CHANGELOG.md"; + license = with licenses; [ mit /* or */ asl20 ]; + maintainers = with maintainers; [ figsoda ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 670af1827a5b..5b4f10d2a2a2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17247,6 +17247,8 @@ with pkgs; rr = callPackage ../development/tools/analysis/rr { }; + rsass = callPackage ../development/tools/misc/rsass { }; + rufo = callPackage ../development/tools/rufo { }; samurai = callPackage ../development/tools/build-managers/samurai { };