From 825ce379a86a2501692fbd1b4535cca979831277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20de=20Kok?= Date: Fri, 12 Feb 2021 10:47:30 +0100 Subject: [PATCH] maturin: reformat, use hash/cargoHash --- pkgs/development/tools/rust/maturin/default.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/rust/maturin/default.nix b/pkgs/development/tools/rust/maturin/default.nix index c9513864086b..38217e4b4e15 100644 --- a/pkgs/development/tools/rust/maturin/default.nix +++ b/pkgs/development/tools/rust/maturin/default.nix @@ -1,5 +1,13 @@ -{ lib, stdenv, fetchFromGitHub, rustPlatform, dbus, gmp, openssl, pkg-config -, Security }: +{ lib +, stdenv +, fetchFromGitHub +, rustPlatform +, pkg-config +, dbus +, gmp +, openssl +, Security +}: rustPlatform.buildRustPackage rec { pname = "maturin"; @@ -9,10 +17,10 @@ rustPlatform.buildRustPackage rec { owner = "PyO3"; repo = "maturin"; rev = "v${version}"; - sha256 = "sha256-X5/1zEVhhdTuyXcUwC3jVv9Gblmv8LT+ftsVo8BnnZs="; + hash = "sha256-X5/1zEVhhdTuyXcUwC3jVv9Gblmv8LT+ftsVo8BnnZs="; }; - cargoSha256 = "sha256-PBmuPIpCwC7fr/MKFaeSd/0avoEATlxoeMHisjouAeI="; + cargoHash = "sha256-PBmuPIpCwC7fr/MKFaeSd/0avoEATlxoeMHisjouAeI="; nativeBuildInputs = [ pkg-config ];