12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
17 owner = "kampfkarren";
20 sha256 = "sha256-NbVSFYv3nyEjSf0bFajcMaoWP2bS0EfJT8tDddjS7jg=";
23 cargoHash = "sha256-e3oQUFtgdjqPiB2YpmqnFUG2scmYJhLSpUaw0W6RxIk=";
25 nativeBuildInputs = lib.optionals robloxSupport [
30 lib.optionals robloxSupport [
33 ++ lib.optionals (robloxSupport && stdenv.hostPlatform.isDarwin) [
34 darwin.apple_sdk.frameworks.Security
37 buildNoDefaultFeatures = !robloxSupport;
40 description = "Blazing-fast modern Lua linter written in Rust";
41 mainProgram = "selene";
42 homepage = "https://github.com/kampfkarren/selene";
43 changelog = "https://github.com/kampfkarren/selene/blob/${version}/CHANGELOG.md";
44 license = licenses.mpl20;
45 maintainers = with maintainers; [ figsoda ];