maturin: 0.7.9 -> 0.8.0
Changelog: https://github.com/PyO3/maturin/blob/v0.8.0/Changelog.md#080---2020-04-03
This commit is contained in:
parent
4ec4715c64
commit
759ac32d9a
2 changed files with 21 additions and 3 deletions
13
pkgs/development/tools/rust/maturin/Cargo.lock.patch
Normal file
13
pkgs/development/tools/rust/maturin/Cargo.lock.patch
Normal 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)",
|
|
@ -5,16 +5,21 @@ let
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
in rustPlatform.buildRustPackage rec {
|
in rustPlatform.buildRustPackage rec {
|
||||||
name = "maturin-${version}";
|
name = "maturin-${version}";
|
||||||
version = "0.7.9";
|
version = "0.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "PyO3";
|
owner = "PyO3";
|
||||||
repo = "maturin";
|
repo = "maturin";
|
||||||
rev = "v${version}";
|
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 ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue