mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 20:21:14 +00:00
Merge pull request #110095 from r-ryantm/auto-update/maturin
This commit is contained in:
commit
3768b6f03a
|
@ -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"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
}:
|
||||
let
|
||||
pname = "wasmer";
|
||||
version = "1.0.0-beta1";
|
||||
version = "1.0.0";
|
||||
|
||||
wheel = rustPlatform.buildRustPackage rec {
|
||||
inherit pname version;
|
||||
|
@ -17,10 +17,10 @@ let
|
|||
owner = "wasmerio";
|
||||
repo = "wasmer-python";
|
||||
rev = version;
|
||||
sha256 = "0302lcfjlw7nz18nf86z6swhhpp1qnpwcsm2fj4avl22rsv0h78j";
|
||||
hash = "sha256-I1GfjLaPYMIHKh2m/5IQepUsJNiVUEJg49wyuuzUYtY=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-Rq5m9Lu6kePvohfhODLMOpGPFtCh0woTsQY2TufoiNQ=";
|
||||
cargoHash = "sha256-txOOia1C4W+nsXuXp4EytEn82CFfSmiOYwRLC4WPImc=";
|
||||
|
||||
nativeBuildInputs = [ maturin python ];
|
||||
|
||||
|
|
|
@ -5,16 +5,16 @@ let
|
|||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
in rustPlatform.buildRustPackage rec {
|
||||
name = "maturin-${version}";
|
||||
version = "0.8.3";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PyO3";
|
||||
repo = "maturin";
|
||||
rev = "v${version}";
|
||||
sha256 = "08l5r7d75id6qzf8xhkjv4hkdr64cq4dbcmdjywmvf9szjbnr65z";
|
||||
sha256 = "sha256-X5/1zEVhhdTuyXcUwC3jVv9Gblmv8LT+ftsVo8BnnZs=";
|
||||
};
|
||||
|
||||
cargoSha256 = "1n0sxkhcdg2rbzqd7826pa7sxlnn0c2sc8l6lc98xw21vvqisc8n";
|
||||
cargoSha256 = "sha256-PBmuPIpCwC7fr/MKFaeSd/0avoEATlxoeMHisjouAeI=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue