@@ -5,26 +5,27 @@
55, rustPlatform
66, pkg-config
77, dbus
8+, libiconv
89, Security
910}:
1011
1112rustPlatform.buildRustPackage rec {
1213 pname = "maturin";
13− version = "0.10.4";
14+ version = "0.10.6";
1415
1516 src = fetchFromGitHub {
1617 owner = "PyO3";
1718 repo = "maturin";
1819 rev = "v${version}";
19− hash = "sha256-9emrBajFd0eLHcsd9Uf6MLCWqZFqxmZdWPBLGIYc2kU=";
20+ hash = "sha256-qWDrdS1zxe5woQSKLHhDSGJ1KF4SHk1mhaQApJXCCO4=";
2021 };
2122
22− cargoSha256 = "113i7a5hpz7qch45wwapp53ixvgssnlxm0810yjicxp3k61ak30j";
23+ cargoHash = "sha256-NEXgb7yWQkqbbofd3oYQ5n+CmfaM2cWj8HwufrcRKkc=";
2324
2425 nativeBuildInputs = [ pkg-config ];
2526
26− buildInputs = lib.optional stdenv.isLinux dbus
27− ++ lib.optional stdenv.isDarwin Security;
27+ buildInputs = lib.optionals stdenv.isLinux [ dbus ]
28+ ++ lib.optionals stdenv.isDarwin [ Security libiconv ];
2829
2930 # Requires network access, fails in sandbox.
3031 doCheck = false;