14 rustPlatform.buildRustPackage rec {
15 pname = "cargo-local-registry";
18 src = fetchFromGitHub {
20 repo = "cargo-local-registry";
22 hash = "sha256-hG6OSi0I7Y6KZacGR9MCC+e7YcDcvaVfR3LSOjqz23A=";
25 cargoHash = "sha256-lTtxCRK4J3dQ6fwjOwYvKa0ykr28guAwVN/J8pfLn9s=";
39 ++ lib.optionals stdenv.hostPlatform.isDarwin [
40 darwin.apple_sdk.frameworks.Security
42 ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
43 darwin.apple_sdk.frameworks.CoreFoundation
46 # tests require internet access
50 description = "Cargo subcommand to manage local registries";
51 mainProgram = "cargo-local-registry";
52 homepage = "https://github.com/dhovart/cargo-local-registry";
53 changelog = "https://github.com/dhovart/cargo-local-registry/releases/tag/${src.rev}";
54 license = with licenses; [
58 maintainers = with maintainers; [ figsoda ];