11 rustPlatform.buildRustPackage rec {
15 src = fetchFromGitHub {
18 rev = "refs/tags/${version}";
19 hash = "sha256-nXuMyHV5Sln3qWXIhIDdV0thSY4YbvzGqNWGIw4QLdM=";
22 cargoHash = "sha256-tR7+SecTS1FWwcPF25PclT6lEjY9NUEj/2EBhbgg0tw=";
31 ++ lib.optionals stdenv.hostPlatform.isDarwin [
32 darwin.apple_sdk.frameworks.AppKit
33 darwin.apple_sdk.frameworks.Security
34 darwin.apple_sdk.frameworks.SystemConfiguration
38 description = "Integrate large language models into the command line";
39 homepage = "https://github.com/efugier/smartcat";
40 changelog = "https://github.com/efugier/smartcat/releases/tag/v${version}";
41 license = lib.licenses.asl20;
42 platforms = lib.platforms.unix;
44 maintainers = with lib.maintainers; [ lpchaim ];