maturin: 1.9.6 -> 1.10.0
https://github.com/PyO3/maturin/blob/v1.10.0/Changelog.md
This commit is contained in:
committed by
Robert Schütz
parent
5521119ae8
commit
3095fa5abd
@@ -23,11 +23,16 @@ maturinBuildHook() {
|
||||
"--target" "@rustcTargetSpec@"
|
||||
"--manylinux" "off"
|
||||
"--strip"
|
||||
"--release"
|
||||
"--out" "$dist"
|
||||
"--interpreter" "$interpreter_name"
|
||||
)
|
||||
|
||||
if [ -n "${maturinBuildProfile}" ]; then
|
||||
flagsArray+=("--profile" "${maturinBuildProfile}")
|
||||
else
|
||||
flagsArray+=("--release")
|
||||
fi
|
||||
|
||||
concatTo flagsArray maturinBuildFlags
|
||||
|
||||
echoCmd 'maturinBuildHook flags' "${flagsArray[@]}"
|
||||
|
||||
@@ -12,16 +12,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "maturin";
|
||||
version = "1.9.6";
|
||||
version = "1.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PyO3";
|
||||
repo = "maturin";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-hMMX59nq9Wusb0XZb8i5/EmQiPL4WopuZX7maycj0J4=";
|
||||
hash = "sha256-txbMVkbws/3mvYsxf332WhTymsVdr6JlgQoi85e4pgE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-hNFbRtt/sVlEffu7RgXxC1NHzakP8miMyHIV/cf4sfM=";
|
||||
cargoHash = "sha256-2eLzT9Ozz7p43hbysoE5isLuithqJhvo8TfRZnklzf4=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
libiconv
|
||||
|
||||
Reference in New Issue
Block a user