Generate Rust dependencies of Python cryptography
Why?: Because, in Flathub sandbox, -share-network option is not allowed.
-
Get and uncompress Python cryptography sources somewhere.
-
Generate Cargo.lock file:
cd /path/to/cryptography-x.y.z
cargo vendor --manifest-path src/rust/
- Generate sources list JSON file in Komikku flatpak folder:
cd /path/to/Komikku/flatpak
python flatpak-cargo-generator.py /path/to/cryptography-x.y.z/src/rust/Cargo.lock -o python3-cryptography-cargo-deps.json
python3-cryptography-cargo-deps.json
is used in python3-keyring.json
.