btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / rs / rsass / package.nix
blobb71dca0b3953efc2df24971d5ddc48cd9b3c7a59
1 { lib, rustPlatform, fetchCrate }:
3 rustPlatform.buildRustPackage rec {
4   pname = "rsass";
5   version = "0.28.10";
7   src = fetchCrate {
8     pname = "rsass-cli";
9     inherit version;
10     hash = "sha256-/2U1+kCRpM36r2fHB6Hditnm2dSVHh08M0RIi3AIe44=";
11   };
13   cargoHash = "sha256-pCQOFBs+lNdjcyOqZ/GjJyOthepnaWAM1feEpegdrDo=";
15   meta = with lib; {
16     description = "Sass reimplemented in rust with nom";
17     mainProgram = "rsass";
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   };