nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

gitoxide: fix cargo dependencies

+28
+24
pkgs/by-name/gi/gitoxide/fix-cargo-dependencies.patch
··· 1 + diff -ur a/gix-packetline/Cargo.toml b/gix-packetline/Cargo.toml 2 + --- a/gix-packetline/Cargo.toml 3 + +++ b/gix-packetline/Cargo.toml 4 + @@ -24,7 +24,7 @@ 5 + ## If set, all IO will become blocking. The same types will be used preventing side-by-side usage of blocking and non-blocking IO. 6 + blocking-io = [] 7 + ## Implement IO traits from `futures-io`. 8 + -async-io = ["dep:futures-io", "dep:futures-lite", "dep:pin-project-lite"] 9 + +async-io = ["dep:futures-io", "futures-lite", "dep:pin-project-lite"] 10 + 11 + #! ### Other 12 + ## Data structures implement `serde::Serialize` and `serde::Deserialize`. 13 + diff -ur a/gix-protocol/Cargo.toml b/gix-protocol/Cargo.toml 14 + --- a/gix-protocol/Cargo.toml 15 + +++ b/gix-protocol/Cargo.toml 16 + @@ -34,7 +34,7 @@ 17 + "gix-transport/async-client", 18 + "dep:async-trait", 19 + "dep:futures-io", 20 + - "dep:futures-lite", 21 + + "futures-lite", 22 + "handshake", 23 + "fetch" 24 + ]
+4
pkgs/by-name/gi/gitoxide/package.nix
··· 30 30 useFetchCargoVendor = true; 31 31 cargoHash = "sha256-q35MQGN/tvsK7gg0a/ljoVY6wedy7rwKlSakONgBIgk="; 32 32 33 + patches = [ 34 + ./fix-cargo-dependencies.patch 35 + ]; 36 + 33 37 nativeBuildInputs = [ 34 38 cmake 35 39 pkg-config