11 rustPlatform.buildRustPackage rec {
15 src = fetchFromGitHub {
16 owner = "kampfkarren";
19 sha256 = "sha256-NbVSFYv3nyEjSf0bFajcMaoWP2bS0EfJT8tDddjS7jg=";
22 cargoHash = "sha256-e3oQUFtgdjqPiB2YpmqnFUG2scmYJhLSpUaw0W6RxIk=";
24 nativeBuildInputs = lib.optionals robloxSupport [
28 buildInputs = lib.optionals robloxSupport [
30 ] ++ lib.optionals (robloxSupport && stdenv.hostPlatform.isDarwin) [
31 darwin.apple_sdk.frameworks.Security
34 buildNoDefaultFeatures = !robloxSupport;
37 description = "Blazing-fast modern Lua linter written in Rust";
38 mainProgram = "selene";
39 homepage = "https://github.com/kampfkarren/selene";
40 changelog = "https://github.com/kampfkarren/selene/blob/${version}/CHANGELOG.md";
41 license = licenses.mpl20;
42 maintainers = with maintainers; [ figsoda ];