cargo-dephell: unpin libgit2

This commit is contained in:
Sandro Jäckel 2024-02-11 22:51:33 +01:00 committed by sternenseemann
parent 793ef7f7fc
commit 8042f62417

View File

@ -6,7 +6,7 @@
, curl
, openssl
, darwin
, libgit2_1_3_0
, libgit2
}:
rustPlatform.buildRustPackage rec {
@ -35,7 +35,7 @@ rustPlatform.buildRustPackage rec {
] ++ lib.optionals stdenv.isDarwin [
curl
darwin.apple_sdk.frameworks.Security
libgit2_1_3_0
libgit2
];
# update Cargo.lock to work with openssl 3
@ -43,6 +43,10 @@ rustPlatform.buildRustPackage rec {
ln -sf ${./Cargo.lock} Cargo.lock
'';
env = {
LIBGIT2_NO_VENDOR = 1;
};
meta = with lib; {
description = "A tool to analyze the third-party dependencies imported by a rust crate or rust workspace";
homepage = "https://github.com/mimoo/cargo-dephell";