Loading pkgs/by-name/rc/rcp/package.nix +22 −9 Original line number Diff line number Diff line { lib, stdenv, pkgsStatic, fetchFromGitHub, rustPlatform, }: rustPlatform.buildRustPackage (finalAttrs: { pkgsStatic.rustPlatform.buildRustPackage (finalAttrs: { pname = "rcp"; version = "0.21.1"; version = "0.31.0"; src = fetchFromGitHub { owner = "wykurz"; repo = "rcp"; rev = "v${finalAttrs.version}"; hash = "sha256-ayT8lp8XqkvtUaff2Iy+5IVyJ/ukKl0qruEWjBlgAvo="; hash = "sha256-ghFVGbud3aKJPvjNchsgPUSioNAxg4TJlUIYMp9+cJo="; }; cargoHash = "sha256-AcH5V5hapVQgGrwWAEN6Xpj00RRNqZiCSn+/onpmd50="; cargoHash = "sha256-eyIO8lxmGdZKEDW+GSVARm5u3X0vx1RJLG8Ljbk0Zb8="; env.RUSTFLAGS = "--cfg tokio_unstable"; Loading @@ -25,8 +24,23 @@ rustPlatform.buildRustPackage (finalAttrs: { "--skip=copy::copy_tests::check_default_mode" "--skip=test_weird_permissions" "--skip=test_edge_case_special_permissions" "--skip=test_default_strips_special_bits_on_directories" "--skip=test_default_strips_special_bits_on_files" "--skip=test_default_preserves_special_bits_on_directories" "--skip=test_preserve_all_preserves_special_bits_on_directories" "--skip=test_preserve_all_preserves_special_bits_on_files" "--skip=test_preserve_settings_dir_gid_time_7777" "--skip=test_preserve_settings_dir_7777_preserves_special_bits" "--skip=test_preserve_settings_file_7777_preserves_special_bits" "--skip=test_preserve_settings_none_strips_special_bits_on_directories" # this test expects overwrite behavior that doesn't work in a sandbox "--skip=test_overwrite_behavior" # these tests require network access to determine local IP address "--skip=test_remote" # these tests expect to find version/git info from Cargo.toml, which isn't available in the sandbox "--skip=version::tests::test_current_version" "--skip=test_protocol_version_has_git_info" "--skip=test_rcpd_protocol_version_has_git_info" ]; meta = { Loading @@ -36,8 +50,7 @@ rustPlatform.buildRustPackage (finalAttrs: { license = with lib.licenses; [ mit ]; mainProgram = "rcp"; maintainers = with lib.maintainers; [ wykurz ]; # Building procfs on an for a unsupported platform. Currently only linux and android are supported # (Your current target_os is macos) broken = stdenv.hostPlatform.isDarwin; # procfs only supports Linux and Android broken = pkgsStatic.stdenv.hostPlatform.isDarwin; }; }) Loading
pkgs/by-name/rc/rcp/package.nix +22 −9 Original line number Diff line number Diff line { lib, stdenv, pkgsStatic, fetchFromGitHub, rustPlatform, }: rustPlatform.buildRustPackage (finalAttrs: { pkgsStatic.rustPlatform.buildRustPackage (finalAttrs: { pname = "rcp"; version = "0.21.1"; version = "0.31.0"; src = fetchFromGitHub { owner = "wykurz"; repo = "rcp"; rev = "v${finalAttrs.version}"; hash = "sha256-ayT8lp8XqkvtUaff2Iy+5IVyJ/ukKl0qruEWjBlgAvo="; hash = "sha256-ghFVGbud3aKJPvjNchsgPUSioNAxg4TJlUIYMp9+cJo="; }; cargoHash = "sha256-AcH5V5hapVQgGrwWAEN6Xpj00RRNqZiCSn+/onpmd50="; cargoHash = "sha256-eyIO8lxmGdZKEDW+GSVARm5u3X0vx1RJLG8Ljbk0Zb8="; env.RUSTFLAGS = "--cfg tokio_unstable"; Loading @@ -25,8 +24,23 @@ rustPlatform.buildRustPackage (finalAttrs: { "--skip=copy::copy_tests::check_default_mode" "--skip=test_weird_permissions" "--skip=test_edge_case_special_permissions" "--skip=test_default_strips_special_bits_on_directories" "--skip=test_default_strips_special_bits_on_files" "--skip=test_default_preserves_special_bits_on_directories" "--skip=test_preserve_all_preserves_special_bits_on_directories" "--skip=test_preserve_all_preserves_special_bits_on_files" "--skip=test_preserve_settings_dir_gid_time_7777" "--skip=test_preserve_settings_dir_7777_preserves_special_bits" "--skip=test_preserve_settings_file_7777_preserves_special_bits" "--skip=test_preserve_settings_none_strips_special_bits_on_directories" # this test expects overwrite behavior that doesn't work in a sandbox "--skip=test_overwrite_behavior" # these tests require network access to determine local IP address "--skip=test_remote" # these tests expect to find version/git info from Cargo.toml, which isn't available in the sandbox "--skip=version::tests::test_current_version" "--skip=test_protocol_version_has_git_info" "--skip=test_rcpd_protocol_version_has_git_info" ]; meta = { Loading @@ -36,8 +50,7 @@ rustPlatform.buildRustPackage (finalAttrs: { license = with lib.licenses; [ mit ]; mainProgram = "rcp"; maintainers = with lib.maintainers; [ wykurz ]; # Building procfs on an for a unsupported platform. Currently only linux and android are supported # (Your current target_os is macos) broken = stdenv.hostPlatform.isDarwin; # procfs only supports Linux and Android broken = pkgsStatic.stdenv.hostPlatform.isDarwin; }; })