maturin: reformat, use hash/cargoHash
This commit is contained in:
parent
2596df2322
commit
825ce379a8
1 changed files with 12 additions and 4 deletions
|
@ -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 ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue