tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
gitoxide: fix cargo dependencies
Sizhe Zhao
1 year ago
b417ab15
0daef72f
+28
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
gi
gitoxide
fix-cargo-dependencies.patch
package.nix
+24
pkgs/by-name/gi/gitoxide/fix-cargo-dependencies.patch
reviewed
···
1
1
+
diff -ur a/gix-packetline/Cargo.toml b/gix-packetline/Cargo.toml
2
2
+
--- a/gix-packetline/Cargo.toml
3
3
+
+++ b/gix-packetline/Cargo.toml
4
4
+
@@ -24,7 +24,7 @@
5
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
6
+
blocking-io = []
7
7
+
## Implement IO traits from `futures-io`.
8
8
+
-async-io = ["dep:futures-io", "dep:futures-lite", "dep:pin-project-lite"]
9
9
+
+async-io = ["dep:futures-io", "futures-lite", "dep:pin-project-lite"]
10
10
+
11
11
+
#! ### Other
12
12
+
## Data structures implement `serde::Serialize` and `serde::Deserialize`.
13
13
+
diff -ur a/gix-protocol/Cargo.toml b/gix-protocol/Cargo.toml
14
14
+
--- a/gix-protocol/Cargo.toml
15
15
+
+++ b/gix-protocol/Cargo.toml
16
16
+
@@ -34,7 +34,7 @@
17
17
+
"gix-transport/async-client",
18
18
+
"dep:async-trait",
19
19
+
"dep:futures-io",
20
20
+
- "dep:futures-lite",
21
21
+
+ "futures-lite",
22
22
+
"handshake",
23
23
+
"fetch"
24
24
+
]
+4
pkgs/by-name/gi/gitoxide/package.nix
reviewed
···
30
30
useFetchCargoVendor = true;
31
31
cargoHash = "sha256-q35MQGN/tvsK7gg0a/ljoVY6wedy7rwKlSakONgBIgk=";
32
32
33
33
+
patches = [
34
34
+
./fix-cargo-dependencies.patch
35
35
+
];
36
36
+
33
37
nativeBuildInputs = [
34
38
cmake
35
39
pkg-config