mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
python3Packages.johnnycanencrypt: maturin 0.9.0 compatibility fix
This commit is contained in:
parent
02380d7d7c
commit
e645c16956
@ -61,6 +61,12 @@ rustPlatform.buildRustPackage rec {
|
||||
numpy
|
||||
];
|
||||
|
||||
# Remove with the next release after 0.5.0. This change is required
|
||||
# for compatibility with maturin 0.9.0.
|
||||
postPatch = ''
|
||||
sed '/project-url = /d' -i Cargo.toml
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
maturin build --release --manylinux off --strip --cargo-extra-args="-j $NIX_BUILD_CORES --frozen"
|
||||
|
Loading…
Reference in New Issue
Block a user