maturin: reformat, use hash/cargoHash

This commit is contained in:
Daniël de Kok 2021-02-12 10:47:30 +01:00
parent 2596df2322
commit 825ce379a8

View file

@ -1,5 +1,13 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, dbus, gmp, openssl, pkg-config { lib
, Security }: , stdenv
, fetchFromGitHub
, rustPlatform
, pkg-config
, dbus
, gmp
, openssl
, Security
}:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "maturin"; pname = "maturin";
@ -9,10 +17,10 @@ rustPlatform.buildRustPackage rec {
owner = "PyO3"; owner = "PyO3";
repo = "maturin"; repo = "maturin";
rev = "v${version}"; 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 ]; nativeBuildInputs = [ pkg-config ];