{ lib , stdenv , rustPlatform , fetchFromGitHub , CoreServices }: rustPlatform.buildRustPackage rec { pname = "bacon"; version = "2.6.2"; src = fetchFromGitHub { owner = "Canop"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-aCdVu9R1RGju05lAeXtm47ZroNOcqTSr/vYH6capcjs="; }; cargoHash = "sha256-uiKKyIy2IHDtHWJmG3G9UVHaASL9uEg5Zu+2Wj8mw0k="; buildInputs = lib.optional stdenv.isDarwin [ CoreServices ]; meta = with lib; { description = "Background rust code checker"; homepage = "https://github.com/Canop/bacon"; changelog = "https://github.com/Canop/bacon/blob/v${version}/CHANGELOG.md"; license = licenses.agpl3Only; maintainers = with maintainers; [ FlorianFranzen ]; }; }