11 rustPlatform.buildRustPackage rec {
12 pname = "matrix-commander-rs";
15 src = fetchFromGitHub {
17 repo = "matrix-commander-rs";
18 rev = "refs/tags/v${version}";
19 hash = "sha256-UoqddgXrwaKtIE0cuAFkfrgmvLIDRpGjl5jBQvh9mdI=";
22 cargoHash = "sha256-cMXnMCiMeM4Tykquco7G3kcZC2xxoDl+uWqrQLFp1VM=";
24 nativeBuildInputs = [ pkg-config ];
28 ++ lib.optionals stdenv.hostPlatform.isDarwin [
29 darwin.apple_sdk.frameworks.Security
30 darwin.apple_sdk.frameworks.SystemConfiguration
34 description = "CLI-based Matrix client app for sending and receiving";
35 homepage = "https://github.com/8go/matrix-commander-rs";
36 changelog = "https://github.com/8go/matrix-commander-rs/releases/tag/v${version}";
37 license = licenses.gpl3Only;
38 maintainers = with maintainers; [ fab ];
39 mainProgram = "matrix-commander-rs";