13 rustPlatform.buildRustPackage rec {
14 pname = "cargo-local-registry";
17 src = fetchFromGitHub {
19 repo = "cargo-local-registry";
21 hash = "sha256-hG6OSi0I7Y6KZacGR9MCC+e7YcDcvaVfR3LSOjqz23A=";
24 cargoHash = "sha256-lTtxCRK4J3dQ6fwjOwYvKa0ykr28guAwVN/J8pfLn9s=";
36 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
37 darwin.apple_sdk.frameworks.Security
38 ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
39 darwin.apple_sdk.frameworks.CoreFoundation
42 # tests require internet access
46 description = "Cargo subcommand to manage local registries";
47 mainProgram = "cargo-local-registry";
48 homepage = "https://github.com/dhovart/cargo-local-registry";
49 changelog = "https://github.com/dhovart/cargo-local-registry/releases/tag/${src.rev}";
50 license = with licenses; [ asl20 mit ];
51 maintainers = with maintainers; [ figsoda ];