11 rustPlatform.buildRustPackage rec {
15 src = fetchFromGitHub {
16 owner = "kampfkarren";
19 sha256 = "sha256-6DbWz4u4mbW/aSDpaLxP4bG14gHxMGc4A8zMTVH/vj0=";
22 cargoSha256 = "sha256-6dYXGxDNiLzpyZCmF2OJl2HAFyzJeAeQpEfaIZBBJD8=";
24 nativeBuildInputs = lib.optional robloxSupport pkg-config;
26 buildInputs = lib.optional robloxSupport openssl
27 ++ lib.optional (robloxSupport && stdenv.isDarwin) Security;
29 buildNoDefaultFeatures = !robloxSupport;
32 description = "A blazing-fast modern Lua linter written in Rust";
33 homepage = "https://github.com/kampfkarren/selene";
34 changelog = "https://github.com/kampfkarren/selene/blob/${version}/CHANGELOG.md";
35 license = licenses.mpl20;
36 maintainers = with maintainers; [ figsoda ];