about summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorDaniël de Kok <me@danieldk.eu>2021-02-12 10:47:30 +0100
committerDaniël de Kok <me@danieldk.eu>2021-02-12 10:56:45 +0100
commit825ce379a86a2501692fbd1b4535cca979831277 (patch)
treef03b8eac2c5ad1f8fefcfecf71fd24e64393991b /pkgs/development/tools
parent2596df2322da9b1c7998a5aa6fe9019fb7299d5b (diff)
downloadnixlib-825ce379a86a2501692fbd1b4535cca979831277.tar
nixlib-825ce379a86a2501692fbd1b4535cca979831277.tar.gz
nixlib-825ce379a86a2501692fbd1b4535cca979831277.tar.bz2
nixlib-825ce379a86a2501692fbd1b4535cca979831277.tar.lz
nixlib-825ce379a86a2501692fbd1b4535cca979831277.tar.xz
nixlib-825ce379a86a2501692fbd1b4535cca979831277.tar.zst
nixlib-825ce379a86a2501692fbd1b4535cca979831277.zip
maturin: reformat, use hash/cargoHash
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/rust/maturin/default.nix16
1 files 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 ];