10 rustPlatform.buildRustPackage rec {
11 pname = "rustmission";
14 src = fetchFromGitHub {
18 hash = "sha256-V9sy3rkoI3mKpeZjXT4D3Bs4NVETJ8h43iwOoDx1MKU=";
21 cargoHash = "sha256-KYg+SVAvlQn77kI1gyzXlzhKgPECYPZKICnmkcEnuh8=";
23 nativeBuildInputs = [ pkg-config ];
25 buildInputs = [ openssl ]
26 ++ lib.optionals stdenv.hostPlatform.isDarwin [
27 darwin.apple_sdk.frameworks.CoreFoundation
28 darwin.apple_sdk.frameworks.Security
29 darwin.apple_sdk.frameworks.SystemConfiguration
36 description = "A TUI for the Transmission daemon";
37 homepage = "https://github.com/intuis/rustmission";
38 changelog = "https://github.com/intuis/rustmission/releases/tag/v${version}";
39 license = lib.licenses.gpl3Only;
40 mainProgram = "rustmission";
41 maintainers = with lib.maintainers; [ anas ];
42 platforms = with lib.platforms; unix ++ windows;