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
|
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 = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
maturin build --release --manylinux off --strip --cargo-extra-args="-j $NIX_BUILD_CORES --frozen"
|
maturin build --release --manylinux off --strip --cargo-extra-args="-j $NIX_BUILD_CORES --frozen"
|
||||||
|
|
Loading…
Reference in a new issue