12 rustPlatform.buildRustPackage rec {
13 pname = "cargo-dephell";
16 src = fetchFromGitHub {
20 hash = "sha256-NOjkKttA+mwPCpl4uiRIYD58DlMomVFpwnM9KGfWd+w=";
24 lockFile = ./Cargo.lock;
29 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
35 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
37 darwin.apple_sdk.frameworks.Security
41 # update Cargo.lock to work with openssl 3
43 ln -sf ${./Cargo.lock} Cargo.lock
47 LIBGIT2_NO_VENDOR = 1;
51 description = "Tool to analyze the third-party dependencies imported by a rust crate or rust workspace";
52 mainProgram = "cargo-dephell";
53 homepage = "https://github.com/mimoo/cargo-dephell";
54 license = with licenses; [ mit /* or */ asl20 ];
55 maintainers = with maintainers; [ figsoda matthiasbeyer ];