Merge pull request #84887 from danieldk/maturin-0.8.0

maturin: 0.7.9 -> 0.8.0
This commit is contained in:
Mario Rodas 2020-04-10 10:12:50 -05:00 committed by GitHub
commit 580304ea90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 3 deletions

View file

@ -0,0 +1,13 @@
diff --git a/Cargo.lock b/Cargo.lock
index 09ecb81..c37c646 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -733,7 +733,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "maturin"
-version = "0.8.0-beta.1"
+version = "0.8.0"
dependencies = [
"base64 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)",
"bytesize 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",

View file

@ -5,16 +5,21 @@ let
inherit (darwin.apple_sdk.frameworks) Security;
in rustPlatform.buildRustPackage rec {
name = "maturin-${version}";
version = "0.7.9";
version = "0.8.0";
src = fetchFromGitHub {
owner = "PyO3";
repo = "maturin";
rev = "v${version}";
sha256 = "1l8i1mz97zsc8kayvryv6xznwpby9k9jxy7lsx45acs5yksqchrv";
sha256 = "1fjai0c0j8zzaj4c186dkbvx6cpj0vi3sc1qbjbgn2cm8azsd6m6";
};
cargoSha256 = "0ly0f64acn1hxnj7vg1m860xpl06rklwqh545c386nnxaj839b0r";
# The maturin 0.8.0 lockfile has an incorrect version for maturin
# itself. The upstream lockfiles are normally correct, so this
# should be removed post-0.8.0.
cargoPatches = [ ./Cargo.lock.patch ];
cargoSha256 = "01sh523fi46k5xwdslhnmjz128jkdw47gp9bd8gim3ay13zkcn1i";
nativeBuildInputs = [ pkgconfig ];