8 stdenvNoCC.mkDerivation rec {
13 url = "https://github.com/realm/SwiftLint/releases/download/${version}/portable_swiftlint.zip";
14 hash = "sha256-Tmhw30CJaVQlcYnHjzmwrDpugHgR2/ihHIV8M+O2zwI=";
21 nativeBuildInputs = [ unzip ];
27 install -Dm755 swiftlint $out/bin/swiftlint
31 passthru.updateScript = nix-update-script { };
34 description = "A tool to enforce Swift style and conventions";
35 homepage = "https://realm.github.io/SwiftLint/";
36 license = licenses.mit;
37 mainProgram = "swiftlint";
38 maintainers = with maintainers; [ matteopacini ];
39 platforms = platforms.darwin;
40 sourceProvenance = with sourceTypes; [ binaryNativeCode ];