nitrokey-sys: Patch Cargo.toml to remove cc dependency
Instead of using the build_depends_excludes option in debcargo.toml,
this commit adds a patch that removes the cc depency from Cargo.toml.
Robin Krahl
5 years ago
5 | 5 |
[ Wolfgang Silbermayr ]
|
6 | 6 |
* Package nitrokey-sys 3.4.1 from crates.io using debcargo 2.2.9
|
7 | 7 |
|
8 | |
-- Robin Krahl <robin.krahl@ireas.org> Thu, 13 Dec 2018 17:46:45 +0000
|
|
8 |
-- Robin Krahl <robin.krahl@ireas.org> Wed, 19 Dec 2018 21:05:47 +0000
|
5 | 5 |
# The auto-generated summary is too long.
|
6 | 6 |
summary = "Low-level bindings to libnitrokey"
|
7 | 7 |
|
8 | |
[source]
|
9 | |
# The cc dependency is removed by 0001-Update-build.rs-for-shared-library.patch
|
10 | |
build_depends_excludes = ["cc"]
|
11 | |
|
12 | 8 |
[packages.lib]
|
13 | 9 |
depends = ["libnitrokey-dev","libhidapi-dev"]
|
|
0 |
Index: nitrokey-sys/Cargo.toml
|
|
1 |
===================================================================
|
|
2 |
--- nitrokey-sys.orig/Cargo.toml
|
|
3 |
+++ nitrokey-sys/Cargo.toml
|
|
4 |
@@ -22,5 +22,3 @@ readme = "README.md"
|
|
5 |
categories = ["external-ffi-bindings"]
|
|
6 |
license = "LGPL-3.0"
|
|
7 |
repository = "https://git.ireas.org/nitrokey-sys-rs/"
|
|
8 |
-[build-dependencies.cc]
|
|
9 |
-version = "1.0"
|
|
0 |
0002-Remove-cc-dependency.patch
|
0 | 1 |
0001-Update-build.rs-for-shared-library.patch
|